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

GLMakie px_per_unit doesn't work #3472

Closed
13299118606 opened this issue Dec 14, 2023 · 1 comment
Closed

GLMakie px_per_unit doesn't work #3472

13299118606 opened this issue Dec 14, 2023 · 1 comment
Labels

Comments

@13299118606
Copy link

13299118606 commented Dec 14, 2023

GLMakie v0.8.11:
I don't know if it's a bug or some setting problem.
px_per_unit doesn't work when saving image using GLmakie,
As the example,
fig = Figure(size = (800, 600))
if normal

save("hires.png", fig, px_per_unit = 2) # 1600 × 1200 px png
save("lores.png", fig, px_per_unit = 0.5) # 400 × 300 px png

But my saving results are all 800*600px. Is it a bug or a problem with my settings?

@SimonDanisch
Copy link
Member

This feature was introduced for GLMakie in Makie@0.20 (GLMakie@0.9).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants