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