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 has issues plotting 3D Rects with poly #4693

Open
3 tasks
ranocha opened this issue Dec 28, 2024 · 0 comments
Open
3 tasks

CairoMakie has issues plotting 3D Rects with poly #4693

ranocha opened this issue Dec 28, 2024 · 0 comments
Labels
bug CairoMakie This relates to CairoMakie, the vector backend for Makie based on Cairo.

Comments

@ranocha
Copy link
Contributor

ranocha commented Dec 28, 2024

The code

julia> using CairoMakie

julia> poly(
               [
                       Rect(0.0, 0, 0, 1, 1, 2.5),
                       Rect(1.0, 0, 0, 1, 1, 1),
                       Rect(0.0, 1, 0, 1, 1, 1),
                       Rect(1.0, 1, 0, 1, 1, 1),
               ],
               color = 1:4
       )

produces the plot

Image

The 3D rectangles are not shown correctly. I would have expected something like I get with a smaller size of the big one:

julia> poly(
               [
                       Rect(0.0, 0, 0, 1, 1, 2.4),
                       Rect(1.0, 0, 0, 1, 1, 1),
                       Rect(0.0, 1, 0, 1, 1, 1),
                       Rect(1.0, 1, 0, 1, 1, 1),
               ],
               color = 1:4
       )

Image

  • what version of Makie are you running? (]st -m Makie)
(jl_oQJ1ul) pkg> st -m Makie CairoMakie
  [13f3f980] CairoMakie v0.12.18
  [ee78f7c6] Makie v0.21.18
  • can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie)

Yes

  • What platform + GPU are you on?

Julia 1.10.7, Apple M2

@ranocha ranocha added the bug label Dec 28, 2024
@t-bltg t-bltg added the CairoMakie This relates to CairoMakie, the vector backend for Makie based on Cairo. label Dec 31, 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

2 participants