add_legend_pal: Add a legend to the deckgl widget using a palette func
Description
Add a legend to the deckgl widget using a palette func
Usage
add_legend_pal(deckgl, pal, ...)
Arguments
- deckgl
A deckgl widget object.
- pal
A palette function that is used to create the
legend elements (colors and labels) automatically.
- ...
Parameters that are passed to add_legend
.
See Also
col_numeric
et cetera for how to create a palette function.