Skip to content
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

Cycled color doesn't work with transparency as expected #2219

Closed
Datseris opened this issue Aug 15, 2022 · 1 comment
Closed

Cycled color doesn't work with transparency as expected #2219

Datseris opened this issue Aug 15, 2022 · 1 comment

Comments

@Datseris
Copy link
Contributor

MWE

julia> scatter(rand(3), rand(3); color = (Cycled(1), 0.05))
Error showing value of type Makie.FigureAxisPlot:
ERROR: MethodError: no method matching to_color(::Cycled)
Closest candidates are:
  to_color(::Number) at C:\Users\m300808\.julia\packages\Makie\Ppzqh\src\conversions.jl:763   
  to_color(::ColorTypes.Colorant) at C:\Users\m300808\.julia\packages\Makie\Ppzqh\src\conversions.jl:764
  to_color(::Makie.AbstractPattern) at C:\Users\m300808\.julia\packages\Makie\Ppzqh\src\conversions.jl:769
  ...

I'd expect this to be the way of making a color from the color cycle transparent.

@Datseris
Copy link
Contributor Author

Closing as duplicate of #1629

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant