-
Notifications
You must be signed in to change notification settings - Fork 25
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
Is there any way to delete a figure in the makie_context? #154
Comments
I have been thinking about that actually because I'll probably need this too. For context, the implementation is that there's a CImGui.jl/ext/MakieIntegration.jl Line 30 in 82ad053
If you want to hack around it for now, you'll need to delete the entry for the figure in that dictionary. Something like this (untested): function delete_figure!(title_id)
extension_module = Base.get_extension(ig, :MakieIntegration)
delete!(extension_module.makie_context, ig.GetID(title_id))
end |
It seems that this line changes the id. I cannot dermine the actual id. CImGui.jl/ext/MakieIntegration.jl Line 119 in 82ad053
|
Ah right. Then you'd need to iterate through the |
You are right. This issue #150 has no effect now. Great! |
My program requires frequent creation and destruction of figures. I want to delete the specific figure binding to some id and reuse this id. If it's not possible now, I hope this type of function can be provided in future versions.
The text was updated successfully, but these errors were encountered: