-
Hello, I am starting exploring Leafmap and has been able to add a geotiff to my map and set colors, but I am a bit confused how to add and set the legend. and set the colors. See the following notebook: https://colab.research.google.com/drive/1QdRPlZw_YTvXA6ScQZM4_jUcDCTRH85Z?usp=sharingIts a geotiff with rainfall data (24hr rainfall)
Any ideas how to make these or any links to check on it ? thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You should use the m.add_colormap(cmap='RdYlGn_r',vmin=1,vmax=500,label='mm/24h') |
Beta Was this translation helpful? Give feedback.
You should use the
add_colormap
function rather than theadd_colorbar
function