You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/Users/samyuktha/measuring-carbon/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.__dict__)
File "/Users/samyuktha/measuring-carbon/app.py", line 264, in <module>
st_data = st_folium(mymap, width=725)
File "/Users/samyuktha/measuring-carbon/venv/lib/python3.10/site-packages/streamlit_folium/__init__.py", line 399, in st_folium
css_links.extend([href for _, href in elem.default_css])
AttributeError: 'StepColormap' object has no attribute 'default_css'
here is the full error message which shows the error is in the streamlit_folium package
st_data = st_folium(mymap, width=725)
This is the only piece of code in my app which when switched with folium_static(mymap, width=725), it works perfectly
with
st_data = st_folium(mymap, width=725)
but it works with
folium_static(mymap, width=725)
would love to know if there is someway i can make my choropleth map work with st_folium itself
The text was updated successfully, but these errors were encountered: