Skip to content

Commit

Permalink
fis bug in walkable area
Browse files Browse the repository at this point in the history
  • Loading branch information
chraibi committed Mar 10, 2024
1 parent e95790a commit 28517c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion src/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 28517c9

Please sign in to comment.