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

CairoMakie ignores vspan alpha #4626

Open
3 tasks done
aplavin opened this issue Nov 25, 2024 · 2 comments
Open
3 tasks done

CairoMakie ignores vspan alpha #4626

aplavin opened this issue Nov 25, 2024 · 2 comments
Labels
bug CairoMakie This relates to CairoMakie, the vector backend for Makie based on Cairo.

Comments

@aplavin
Copy link
Contributor

aplavin commented Nov 25, 2024

Running vspan(0..1, color=:red, alpha=0.1) results in this with GLMakie (expected):
Image
and this with CairoMakie (alpha is ignored):
Image

  • what version of Makie are you running? (]st -m Makie) latest
  • can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie) latest
  • What platform + GPU are you on? macbook m2
@aplavin aplavin added the bug label Nov 25, 2024
@lanceXwq
Copy link
Contributor

I have the same problem. vspan(0..1, color=(:red, 0.1)) works while vspan(0..1, color=:red, alpha=0.1) does not. This also seems to happen to scatterlines.

@ffreyer
Copy link
Collaborator

ffreyer commented Nov 26, 2024

This is more or less a duplicate of #3735, because vspan/hspan rely on poly. Whatever comes out of #4360 will most likely revamp the color internals so it's not a priority right now and it may get fixed there.

@t-bltg t-bltg added the CairoMakie This relates to CairoMakie, the vector backend for Makie based on Cairo. label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug CairoMakie This relates to CairoMakie, the vector backend for Makie based on Cairo.
Projects
None yet
Development

No branches or pull requests

4 participants