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

empty!(figure) does not completely reset the figure #4497

Open
FaresX opened this issue Oct 17, 2024 · 1 comment
Open

empty!(figure) does not completely reset the figure #4497

FaresX opened this issue Oct 17, 2024 · 1 comment
Labels
bug DataInspector Makie Backend independent issues (Makie core)

Comments

@FaresX
Copy link

FaresX commented Oct 17, 2024

using GLMakie
f = Figure()
ax = Axis(f[1,1])
lines!(ax, rand(100))
ax = Axis(f[0,1])
lines!(ax, rand(100))
empty!(f)
ax = Axis(f[1,1])

Image

@FaresX FaresX added the bug label Oct 17, 2024
@FaresX FaresX changed the title empty!(figure) does not completely reset the figure? empty!(figure) does not completely reset the figure Oct 17, 2024
@FaresX
Copy link
Author

FaresX commented Oct 17, 2024

using GLMakie
f = Figure()
ax = Axis(f[1,1])
heatmap!(ax, rand(100, 100))
DataInspector(f)
empty!(f)
ax = Axis(f[1,1])
heatmap!(ax, rand(100, 100))
DataInspector(f)
f

This is another issue that may be caused by empty!(figure). Run the codes above and resize the figure to reproduce this issue.
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug DataInspector Makie Backend independent issues (Makie core)
Projects
None yet
Development

No branches or pull requests

2 participants