Thanks to visit codestin.com
Credit goes to github.com

Skip to content

QuadContourSet lacks remove method #5332

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

Closed
jslavin opened this issue Oct 27, 2015 · 3 comments · Fixed by #24143
Closed

QuadContourSet lacks remove method #5332

jslavin opened this issue Oct 27, 2015 · 3 comments · Fixed by #24143
Milestone

Comments

@jslavin
Copy link

jslavin commented Oct 27, 2015

Unlike Lnie2D, AxesImage, etc. objects that are contained in Axes, QuadControutSet does not have a remove method. This makes it more difficult (and certainly non-obvious) how to remove a set of contours from a plot.

@tacaswell tacaswell added this to the next bug fix release (2.0.1) milestone Oct 27, 2015
@mdboom
Copy link
Member

mdboom commented Oct 27, 2015

Yes, agreed that would be nice to have (though I haven't looked to see if there's a technical reason that's non-easy). We should find and consider any other classes that can't easily be removed as well.

@QuLogic QuLogic modified the milestones: 2.0.1 (next bug fix release), 2.0.2 (next bug fix release) May 3, 2017
@tacaswell tacaswell modified the milestones: 2.1.1 (next bug fix release), 2.2 (next feature release) Oct 9, 2017
@baloe
Copy link

baloe commented Jun 17, 2022

Is there any workaround? I need one.
Being able to remove those QuadContourSets can be essential when producing animations.

@jklymak
Copy link
Member

jklymak commented Jun 17, 2022

This may indeed be desirable, but if you are computing a contour, my guess would be that you may as well clear and redraw the whole axes - contouring is expensive, even in C code.

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

Successfully merging a pull request may close this issue.

7 participants