diff --git a/app.py b/app.py index df05634..01f4a52 100644 --- a/app.py +++ b/app.py @@ -110,7 +110,7 @@ def read_data(output_file: str) -> pd.DataFrame: c2.selectbox("Select config file", list(set(st.session_state.all_files))) ) fps = c3.number_input( - "fps", min_value=1, max_value=32, value=1, help="show every nth frame" + "fps", min_value=8, max_value=32, value=1, help="show every nth frame" ) if c1.button("Run Simulation"): if Path(OUTPUT_FILE).exists(): diff --git a/src/utilities.py b/src/utilities.py index 6bf72a3..cc492dc 100644 --- a/src/utilities.py +++ b/src/utilities.py @@ -214,7 +214,7 @@ def add_polygon_traces(fig: Figure, walkable_area: pedpy.WalkableArea) -> None: polygons (dict): Dictionary of polygons representing accessible areas. """ - x, y = walkable_area.exterior.xy + x, y = walkable_area.polygon.exterior.xy x = np.array(x) y = np.array(y) fig.add_trace(