Skip to content

Commit

Permalink
Update point size option for bus stops
Browse files Browse the repository at this point in the history
  • Loading branch information
fedderw authored Jan 10, 2024
1 parent debe638 commit bbfe536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/1_Bus_stops.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@ def plot_scatter_mapbox(gdf: gpd.GeoDataFrame, **kwargs):
with tab2:
st.header("Explore Shelters")
# Create an option to size the points by ridership
size_by_ridership = st.checkbox("Size points by boardings")
size_by_ridership = st.checkbox("Size points by average daily boardings")
if size_by_ridership:
stops_selection = stops[stops["rider_total"] > 0]
stops_selection = stops[stops["rider_on"] > 0]
else:
stops_selection = stops
fig2 = plot_scatter_mapbox(
Expand Down

0 comments on commit bbfe536

Please sign in to comment.