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,
On Thu, 2004-03-11 at 13:49, Flavio Codeco Coelho wrote:
From: Flavio Codeco Coelho <fccoelho@…35…>
To: email@example.com firstname.lastname@example.org
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?
the script is attached*