add_colorbar() with colormap in the leading position, for parity with the
Python API.
Arguments
- map
A GeoLibre widget.
- colormap
A color ramp name from
color_ramp_names(). Ignored whencolorsis supplied.- vmin
Value at the low end of the colorbar.
- vmax
Value at the high end of the colorbar.
- label
Title shown alongside the colorbar.
- ...
Forwarded to
add_colorbar(), for exampleunits,orientation, orposition.
Examples
geolibre() |> add_colormap("plasma", vmin = 0, vmax = 100, label = "Index")