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'm writing a package that implements a particular discrete mapping of continuous color maps. In order to provide support for cetcolor I wrote a thin wrapper:
This returns a function that only takes argument n and returns a vector of colors. That way cet_discrete_pal behaves just like hue_pal, brewer_pal, and viridis_pal.
Feel free to run with it, but it would be nice if cet_discrete_pal (or similarly named) would be in a future release, so it could be called in the same way using the discrete_scale API.
Think about adding some hooks for ggplot2... (Package will have more dependencies though... )
The text was updated successfully, but these errors were encountered: