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

Color cycling isn't working for poly plots when input is Vector{Rect2f} #4613

Open
3 tasks
asinghvi17 opened this issue Nov 21, 2024 · 0 comments
Open
3 tasks
Labels
bug colors color, colormap, colorrange, alpha, etc Cycle (Color) cycling Makie Backend independent issues (Makie core) mesh (and poly)

Comments

@asinghvi17
Copy link
Member

asinghvi17 commented Nov 21, 2024

  • what version of Makie are you running? (]st -m Makie) master
  • can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie) yes
  • What platform + GPU are you on? irrelevant

MWE:

f, a, p = poly(Rect2f((2.2, 2.2), (0.6, 0.6)))
p2 = poly!(a, Rect2f((6.2, 4.2), (.6, 1)))
a.title = "p1 rect, p2 rect"

a2, p3 = poly(f[1, 2], [Rect2f((2.2, 2.2), (0.6, 0.6))])
p4 = poly!(a2, Rect2f((6.2, 4.2), (.6, 1)))
a2.title = "p3 vec(rect), p4 rect"
f

Image

Not sure what is going on here! A third poly plot into a2 is green, so cycling seems to be working, just skipped for the first plot somehow...!

@asinghvi17 asinghvi17 added the bug label Nov 21, 2024
@ffreyer ffreyer added Makie Backend independent issues (Makie core) colors color, colormap, colorrange, alpha, etc mesh (and poly) Cycle (Color) cycling labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug colors color, colormap, colorrange, alpha, etc Cycle (Color) cycling Makie Backend independent issues (Makie core) mesh (and poly)
Projects
None yet
Development

No branches or pull requests

2 participants