Skip to content

Commit d04d4ba

Browse files
authored
HeatMap: document default gradient (#2052)
1 parent 0b1bf55 commit d04d4ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

folium/plugins/heat_map.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ class HeatMap(JSCSSMixin, Layer):
3535
blur : int, default 15
3636
Amount of blur
3737
gradient : dict, default None
38-
Color gradient config. e.g. {0.4: 'blue', 0.65: 'lime', 1: 'red'}
38+
Color gradient config. Defaults to
39+
{.4: "blue", .6: "cyan", .7: "lime", .8: "yellow", 1: "red"}
3940
overlay : bool, default True
4041
Adds the layer as an optional overlay (True) or the base layer (False).
4142
control : bool, default True

0 commit comments

Comments
 (0)