Skip to content

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

@rmb-rmn

Description

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature request or idea about how to make folium better

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions