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
I've been using Folium for a group assignment and am loving what I can do with it so far. However, I run into troubles when trying to set the name for choropleth layers. While GeoJSON and TopoJSON formats have 'name' arguments that can be passed to the function, the choropleth function does not. As such, it appears as "macro_element_0a4d2f76a5a84a7084882de74056b4dd" in the layer list. I haven't found a passable argument or workaround for this problem.
I'm using the following code to add the choropleths:
Am I missing something obvious or is there no easy way to set the layer name?
Yours truly,
Alex
EDIT: Setting the legend name does not help. It still displays as 'macro_element'. Additionally, I should mention that I add two choropleths to the same map. Perhaps this could cause problems as well?
The text was updated successfully, but these errors were encountered:
Dearest all,
I've been using Folium for a group assignment and am loving what I can do with it so far. However, I run into troubles when trying to set the name for choropleth layers. While GeoJSON and TopoJSON formats have 'name' arguments that can be passed to the function, the choropleth function does not. As such, it appears as "macro_element_0a4d2f76a5a84a7084882de74056b4dd" in the layer list. I haven't found a passable argument or workaround for this problem.
I'm using the following code to add the choropleths:
Am I missing something obvious or is there no easy way to set the layer name?
Yours truly,
Alex
EDIT: Setting the legend name does not help. It still displays as 'macro_element'. Additionally, I should mention that I add two choropleths to the same map. Perhaps this could cause problems as well?
The text was updated successfully, but these errors were encountered: