-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could support the use of function factories like scales::pal_hue()
and scales::pal_viridis()
?
#5843
Comments
scales::pal_hue()
and scales::pal_viridis()
?scales::pal_hue()
and scales::pal_viridis()
?
This has been on my mind as well to make the interface between scales and palettes somewhat smoother. For this to happen, I think {scales} needs to start describing palette functions more so that some properties are easily queried.
If we know this, we can automatically expand discrete palettes to continuous ones by using e.g. |
It'd be great if it was possible to do this for all of the non-positional scales, especially colour/fill
The text was updated successfully, but these errors were encountered: