Closed jzadra closed 2 years ago
Hi, I think you need to explicitly set how many colors you want to generate. This works for me:
pal = colorNumeric(
viridisLite::inferno(256)
, domain = tst[[1]]
, na.color = "transparent"
)
Works for me too! Thanks.
Following the example in #25 where viridisLite::inferno is used in the colorOptions, what is the best way to add a legend with that palette?
I've tried:
as well as
And neither work.