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
Allow to_color
to work with Cycled(n::Int)
#2893
Comments
the problem here is that Cycled looks up the value in the cycler of an axis during plotting, so it's not stateless. Maybe we can redesign so Cycled computes the values directly from the theme |
Computing values during the cycling and being state dependent is fine for |
it is currently implemented Axis-theme-dependent, so you cannot call it without one. We could maybe make it only theme-dependent. |
Yes, that makes the most sense for |
Not much more to say here, it would make themeing and UX much more pleasant if I could just get the color of the cycled as an actual RGBf color, as many things that dispatch on RGB don't dispatch on
Cycled
.cgrad
for example.The text was updated successfully, but these errors were encountered: