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

VSCode displays figure with wrong viewbox after save #2444

Closed
ValentinKaisermayer opened this issue Nov 25, 2022 · 1 comment
Closed

VSCode displays figure with wrong viewbox after save #2444

ValentinKaisermayer opened this issue Nov 25, 2022 · 1 comment

Comments

@ValentinKaisermayer
Copy link
Contributor

using CairoMakie

fig = Figure()
ax = Axis(fig[1,1])
lines!(cumsum(randn(1000)))
save("img.pdf", fig)
fig

bug

Without the save("img.pdf", fig) it works fine. PNG works, SVG not.

@SimonDanisch
Copy link
Member

Duplicate of #2438, fixed in #2440

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

No branches or pull requests

2 participants