On Fri, Aug 13, 2010 at 1:42 AM, <gurnem...@me.com> wrote: > Dear All, > > I am trying to embed a matplotlib Figure into a Tkinter Canvas. The problem > is, when I change the content of the figure (e.g. I delete and create new > axes) the new items are plotted but the old items are not deleted. The old > items disappear immediately when I resize the window.
Just call fig.canvas.draw() after clearing the old items. This is what the resize is doing. JDH ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users