[Fwd: embedding in wx segfault]

Hi I have a variant of the embedding_in_wx script that worked fine on my previous version of matplotlib. Now, with version 0.51 it’s seg faulting. I updated the script to reflect the changes in the library but still… Can anyone see what may be going wrong?

thanks

the script is attached

PlotFigure.py (4.75 KB)

···

-----Forwarded Message-----
From: Flavio Codeco Coelho <fccoelho@…35…>
To: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net
Subject: [Matplotlib-users] embedding in wx segfault
Date: Thu, 11 Mar 2004 12:53:40 -0300

John I foud it with the “print trick” thank you!!!

the main proble was the self.fig which I replaced with the self.canvas and it is now working,

Thanks again

···

On Thu, 2004-03-11 at 13:49, Flavio Codeco Coelho wrote:

*-----Forwarded Message-----
From: Flavio Codeco Coelho <fccoelho@…35…>
To: matplotlib-users@lists.sourceforge.net matplotlib-users@lists.sourceforge.net
Subject: [Matplotlib-users] embedding in wx segfault
Date: Thu, 11 Mar 2004 12:53:40 -0300

*Hi I have a variant of the embedding_in_wx script that worked fine on my previous version of matplotlib. Now, with version 0.51 it's seg faulting. I updated the script to reflect the changes in the library but still... Can anyone see what may be going wrong?

thanks

the script is attached*