Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#1,550 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, python

Research direction

Start by reviewing folium.heatmap and the linked heat-map example to define the legend and color-proportion requirements without changing the default coloring. Confirm how the requested visualization should appear on a map; done means the map shows the color-to-value correspondence and proportions alongside the legend.

Written by the indexing model from the issue text.

Description

enhancement

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.

Dominant language
Python
Stars
7.4k
Forks
2.3k
Avg merge
17h 22m
Merged PRs (30d)
11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python-visualization/folium

All issues in python-visualization/folium

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.