folium icon indicating copy to clipboard operation
folium copied to clipboard

New function: color legend and color proportion in folium.heatmap

Open rmb-rmn opened this issue 4 years ago • 1 comments

Describe the solution you'd like without change the default color in current folium heatmap. we want to see a color legend can be show on map and different color proportion can be showed next to the color legend.

Describe alternatives you've considered add a color legend can show the correspondence between clor and value add a color proportion can tell user the percentage of different color, it is very convenient for making statistics.

Additional context a example link can be seen here: https://en.wikipedia.org/wiki/Heat_map#/media/File:LakeEffectSnowBuffalo101206.gif

Implementation yes, I have used it in my example and I will share it with my friends.

rmb-rmn avatar Dec 17 '21 03:12 rmb-rmn

Describe the solution you'd like without change the default color in current folium heatmap. we want to see a color legend can be show on map and different color proportion can be showed next to the color legend.

Describe alternatives you've considered add a color legend can show the correspondence between clor and value add a color proportion can tell user the percentage of different color, it is very convenient for making statistics.

Additional context a example link can be seen here: https://en.wikipedia.org/wiki/Heat_map#/media/File:LakeEffectSnowBuffalo101206.gif

Implementation yes, I have used it in my example and I will share it with my friends.

Hi, could you share the solution? I met the same issue - show legend with default color setting in heatmap.

pancerZH avatar Jan 04 '22 17:01 pancerZH