I already had my destroy() method look like this:

    def destroy(self):
        self.f.clf()
        Tix.Frame.destroy(self)
        self.toolbar.destroy()
        self.canvas._tkcanvas.destroy()


But it makes no difference.

Stephan

Am 08.02.2010 17:15, schrieb Michael Droettboom:
> Have you tried explicitly calling .clf() on the matplotlib Figure object from 
> your Tix.Frame.destroy callback?
>
> Mike
>
>   

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to