Closed parnelli32 closed 4 years ago
The default palette comes from
colourvalues::get_palette("viridis")
which is a 256-row matrix.
so if you use
palette = colourvalues::get_palette("viridis")[256:1,]
you'll have the reversed palette
@parnelli32 does this answer your question?
@dcooley it does! thank you
Is there a way to reverse the order of the color palette so that 0 corresponds with the lightest color?