-
-
Notifications
You must be signed in to change notification settings - Fork 329
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
save(...; update=false)
removed in 0.16
#1568
Comments
save(...; update=false)
got removedsave(...; update=false)
removed in 0.16
It should now never call |
Thanks for the explanation. |
Using using GLMakie
xs = cos.(1:0.5:20)
ys = sin.(1:0.5:20)
zs = LinRange(0, 3, length(xs))
meshscatter(xs, ys, zs, markersize = 0.1, color = zs)
Makie.save("/tmp/test1.png", Makie.current_figure()) but the more recent way (from the documentation) using GLMakie
xs = cos.(1:0.5:20)
ys = sin.(1:0.5:20)
zs = LinRange(0, 3, length(xs))
fig = Figure()
meshscatter(xs, ys, zs, markersize = 0.1, color = zs)
Makie.save("/tmp/test2.png", fig) produces a blank image since the last |
What's the problem? That's the expected behaviour, you're not plotting into that fig with |
Oups, sorry, all my apologize using GLMakie
xs = cos.(1:0.5:20)
ys = sin.(1:0.5:20)
zs = LinRange(0, 3, length(xs))
fig = Figure()
meshscatter(fig[1, 1], xs, ys, zs, markersize = 0.1, color = zs)
Makie.save("/tmp/test3.png", fig) is perfectly ok. My mistake |
Using
[email protected]
:#1393 removed the ability to save a figure without updating it (e.g. zoomed in figure) which was added in #1118.
The keyword
update
is still present in the docstring though.May I ask why this was removed and what is the alternative now ?
The text was updated successfully, but these errors were encountered: