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

Scale transformations of polygons not working in CairoMakie 0.12 #4385

Open
hstrey opened this issue Sep 19, 2024 · 0 comments
Open

Scale transformations of polygons not working in CairoMakie 0.12 #4385

hstrey opened this issue Sep 19, 2024 · 0 comments
Labels
bug CairoMakie This relates to CairoMakie, the vector backend for Makie based on Cairo. mesh (and poly)

Comments

@hstrey
Copy link

hstrey commented Sep 19, 2024

There seems to be a change how transformations of polygons work from 0.11 to 0.12
Here is the MVE:
`ffs = Figure()
ax = CairoMakie.Axis(
ffs[1, 1],
#yscale = log10
)

xlims!(ax, 0, 1)
ylims!(ax, 1e-3, 1)

poly!(Point2f[(0.2, 1e-3), (0.2, 1), (0.8, 1), (0.8, 1e-3)], color = (:red,0.2), strokecolor = :black, strokewidth = 1)

ffs

for CairoMakie 0.11, I get what I expect:

Cairo011linear
Cairo011log

but for CairoMakie 0.12, the square disappears when going to log-scale
Cairo012linear
Cairo012log

  • [ x] what version of Makie are you running? (]st -m Makie) 0.21 CairoMakie 0.11 and 0.12
  • [ x] can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie)
  • [ x] What platform + GPU are you on? Mac
@hstrey hstrey added the bug label Sep 19, 2024
@asinghvi17 asinghvi17 added CairoMakie This relates to CairoMakie, the vector backend for Makie based on Cairo. mesh (and poly) labels Sep 19, 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. mesh (and poly)
Projects
None yet
Development

No branches or pull requests

2 participants