Le vendredi 17 juin 2011 à 03:49 -0700, Alain Francés a écrit :
> > You can in fact remove the fig argument of the plot_density function as
> > it is not used. The clf command removes the children of the figure so
> > that it has to delete the axes and its children (amongst which is the
> > AxesImage) and create new ones when you invoke imshow again.
> 
> I simply removed the clf command!
> It works now with this code (I just implemented fig.canvas.draw() as you
> indicated)

So? what about timings and memory consumption?
-- 
Fabrice Silva


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to