Sebastien Peytrignet commited on
Commit
83112fc
β€’
1 Parent(s): 1d0d64c

chore: Update folium_static dimensions in app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -135,7 +135,7 @@ if st.button('πŸ” Fetch Data'):
135
  choropleth_map.add_child(info)
136
  choropleth_map.keep_in_front(info)
137
 
138
- folium_static(choropleth_map, width=1000, height=600)
139
 
140
  # Sample the DataFrame to get 20 random entries
141
  sample_df = df.sample(n=min(20, len(df)), random_state=1)
@@ -157,7 +157,7 @@ if st.button('πŸ” Fetch Data'):
157
  # Apply the function to each row in the sampled DataFrame
158
  sample_df.apply(add_marker, axis=1)
159
 
160
- folium_static(marker_map, width=1000, height=600)
161
 
162
  # Option to download the full dataset
163
  csv = df.to_csv(index=False)
@@ -170,4 +170,4 @@ if st.button('πŸ” Fetch Data'):
170
  else:
171
  st.warning('⚠️ Please enter a provider name.')
172
 
173
- # Run this app with: streamlit run apptwo.py
 
135
  choropleth_map.add_child(info)
136
  choropleth_map.keep_in_front(info)
137
 
138
+ folium_static(choropleth_map, width=500, height=500)
139
 
140
  # Sample the DataFrame to get 20 random entries
141
  sample_df = df.sample(n=min(20, len(df)), random_state=1)
 
157
  # Apply the function to each row in the sampled DataFrame
158
  sample_df.apply(add_marker, axis=1)
159
 
160
+ folium_static(marker_map, width=500, height=500)
161
 
162
  # Option to download the full dataset
163
  csv = df.to_csv(index=False)
 
170
  else:
171
  st.warning('⚠️ Please enter a provider name.')
172
 
173
+ # Run this app with: streamlit run app.py