Calling the garbage collector (gc.collect()) also makes no difference.
Even deleting all references manually and dropping the toolbar code
doesn't do the trick.


Am 09.02.2010 16:19, schrieb Stephan Markus:
> 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
>>
>>   
>>     


------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to