Re: [matplotlib-devel] Animate Contourf with only new frames

2015-02-23 Thread Thomas Caswell
This should probably be changed to use the new and improved container class (along with error bar), but I should read the code to be sure. On Mon, Feb 23, 2015, 11:44 Benjamin Root wrote: > Huh, how about that. ContourSet subclasses ScalarMappable, but not Artist. > I don't know if that is inten

Re: [matplotlib-devel] Animate Contourf with only new frames

2015-02-23 Thread Benjamin Root
Huh, how about that. ContourSet subclasses ScalarMappable, but not Artist. I don't know if that is intentional or not, but given that most plotting functions return artists, this would seem to be an anomaly. FuncAnimation expects a list of Artists. Since QuadContourSet is (apparently) not an Artist

[matplotlib-devel] Animate Contourf with only new frames

2015-02-23 Thread Ignat Harczuk
Firstly I would like to apologize in case this should belong in the matplotlib-users, I'm not sure if this is dev or users related. Let us say we want to animate a 2D contour plot, then passing the blit = True argument to FuncAnimation fails since the QuadContourSet has no axes attribute. Is it