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 am often in the situation where I just want to add some alpha (transparency) to a plot, without making changes to colors. So I would like to use the default colours, or one specified with Cycled, but with some alpha != 1.. However, I have been unable to find a way to do this without manually specifying a color.
Perhaps it would be feasable to add field "alpha" to Cycled? It could then be Cycled(1, 0.5), analogus to (:black, 0.5).
The text was updated successfully, but these errors were encountered:
My band-aid fix ended up being color=Makie.wong_colors(alpha)[i], which worked well. But it uses a non-exported function, and it quite verbose, and so it feels hacky.
Oh wow, yes! I did not realize that I could change it for the plot object like that, this is exactly what I was looking for.
I guess the fix then is just to document this in the docs, and possibly at the top. Definitively before the "problems with transparency" at least. I imagine that this will be the most ergonomic way for most poeople to quickly change the transparency.
I am often in the situation where I just want to add some alpha (transparency) to a plot, without making changes to colors. So I would like to use the default colours, or one specified with
Cycled
, but with some alpha != 1.. However, I have been unable to find a way to do this without manually specifying a color.Perhaps it would be feasable to add field "alpha" to
Cycled
? It could then beCycled(1, 0.5)
, analogus to(:black, 0.5)
.The text was updated successfully, but these errors were encountered: