You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I might be missing an obvious workaround, but I've encountered a few situations where I'd like an easy way to reverse the colour palette. For example, the colours of the "temps" HCL palette are running in the "wrong" direction here:
I couldn't find it in the issues but I vaguely recall that we had a similar discussion about a convenience option for dropping the first color in a palette (which is often useful if the first color is black). But we didn't go for it because it was already possible by passing a vector of colors to palette.
I'm not completely sure, though, whether I remember this correctly...
Activity
grantmcdermott commentedon Feb 3, 2025
One workaround is manually specifying the palette and passing the
rev = TRUEargument. But it isn't particularly convenient.Created on 2025-02-03 with reprex v2.1.1
zeileis commentedon Feb 3, 2025
I couldn't find it in the issues but I vaguely recall that we had a similar discussion about a convenience option for dropping the first color in a palette (which is often useful if the first color is black). But we didn't go for it because it was already possible by passing a vector of colors to
palette.I'm not completely sure, though, whether I remember this correctly...