-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
My question is whether the image drawn with the gradient of the default value is suitable for the LinearColormap I added to the image. I don't know what values are used to draw the colors in the heatmap image. What do I need to do to adjust my Colormap to fit my heatmap?
my data:
| Sat-Lat | Sat-Lon | PM10 |
|---|---|---|
| 30.760423 | 103.971673 | 176 |
| 30.759857 | 103.970884 | 156 |
| 30.760874 | 103.972681 | 140 |
| 30.760712 | 103.972162 | 147 |
my code:
map_osm = folium.Map(location=[30.760872, 103.972556], zoom_start=18,tiles='OpenStreetMap')
HeatMap(data1,radius=25,blur=10,zoom_start=18).add_to(map_osm)
linear = cm.LinearColormap(["green", "orange", "red"], vmin=0, vmax=200)
map_osm.add_child(linear)
Metadata
Metadata
Assignees
Labels
No labels