Skip to content

Commit

Permalink
HeatMap: document default gradient (#2052)
Browse files Browse the repository at this point in the history
  • Loading branch information
Conengmo authored Dec 14, 2024
1 parent 0b1bf55 commit d04d4ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion folium/plugins/heat_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ class HeatMap(JSCSSMixin, Layer):
blur : int, default 15
Amount of blur
gradient : dict, default None
Color gradient config. e.g. {0.4: 'blue', 0.65: 'lime', 1: 'red'}
Color gradient config. Defaults to
{.4: "blue", .6: "cyan", .7: "lime", .8: "yellow", 1: "red"}
overlay : bool, default True
Adds the layer as an optional overlay (True) or the base layer (False).
control : bool, default True
Expand Down

0 comments on commit d04d4ba

Please sign in to comment.