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
@ocefpaf hopefully you can help me with this. I'm updating my "vector" notebooks for the GeoHackWeek event next week.
I have a Folium choropleth statement that worked last time I ran it, a month ago, with Folium 0.5.0. But the same statement is now failing, with a brand new conda env created today that installed Folium 0.6.0. (the same statement worked as-is with 0.4.0, too). Nothing has changed with the GeoDataFrame I'm using as the data passed to geo_data and data.
Thanks @ocefpaf! I'm now getting a folium map, but it's not actually rendering as a choropleth; all polygon fill colors are identical. I'll look into that and look into replacing with the GeoJson class.
PS1: please open issues like this on the folium issue tracker where others can probably answer it quicker and better than me.
Sorry for abusing your attention. I'll be a better Folium citizen next time.
@ocefpaf hopefully you can help me with this. I'm updating my "vector" notebooks for the GeoHackWeek event next week.
I have a Folium choropleth statement that worked last time I ran it, a month ago, with Folium 0.5.0. But the same statement is now failing, with a brand new conda env created today that installed Folium 0.6.0. (the same statement worked as-is with 0.4.0, too). Nothing has changed with the GeoDataFrame I'm using as the data passed to
geo_data
anddata
.The notebook that worked end-to-end, with the rendered Folium choropleth (0.4.0, ran a year ago), is here: https://github.com/emiliom/tutorial_contents/blob/master/vector/notebooks/geopandas_advanced.ipynb (and on nbviewer, to see the folium map). See cell 22.
And here's the notebook from today with the same choropleth statement (cell 23), but where Folium failed:
https://github.com/emiliom/tutorial_contents/blob/emilio_vector/vector/notebooks/geopandas_advanced.ipynb
I'm not able to interpret the error message. I tried looking at the current choropleth API documentation and the 0.6.0 release notes, but couldn't find anything new to explain this. I looked into this change but that didn't help me.
Thanks for your help!
The text was updated successfully, but these errors were encountered: