You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Activity
Conengmo commentedon Nov 17, 2022
Duplicate of #1550
feifei-python commentedon Nov 17, 2022