On Fri, Oct 14, 2011 at 9:11 PM, Daniel Hyams <dhy...@gmail.com> wrote: > This could be intentional...I don't know much about the history of > matplotlib, so it's hard to guess at these things. Anyway, the figure > container does not care about the "animated" state of its artists when it > does its drawing. > To fix this, in the Figure.draw routine (in figure.py), add the following > line just before dsu.sort(): > dsu = [x for x in dsu if not x[1].im_self.get_animated()]
This looks like it might fail for composite images, where the draw method is not an Artist method, so im_self will not be defined. Eg in figimage_demo.py where "fig.suppressComposite = False" since the draw method is the local function "draw_composite'. To handle this case as well, I submitted a slightly more verbose pull request at https://github.com/matplotlib/matplotlib/pull/528 JDH ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel