Closed vadimus202 closed 5 years ago
The argument trans = reverse
can be used to reverse the order of the values before mapping them to colors. See #98 for an example. I think this avoids every diverging/sequential color scale from having to have this option.
That said, if you create a PR for it, I'd accept it.
Adding trans = "reverse"
only works for continuous color gradients. I opened a PR, my first ever, so please bear with me. Thanks
Is it possible to add
direction = 1
argument toscale_fill_tableau()
andscale_color_tableau()
and pass it totableau_color_pal()
, which already accepts it? It would be consistent withggplot2::scale_*_brewer()
.If interested, I could give a PR a try. Seems fairly simple.