Re: [Matplotlib-users] pylab crashes python

2007-01-25 Thread Lou Pecora
I found an example script I got to work for WX. I guessed that the ws.app had to be deleted to plot again. Here it is (the part that runs the code and creates the WX.app: if __name__ == '__main__': app = wx.PySimpleApp(0) frame = PlotFigure() frame.plot_data() frame.Show() a

Re: [Matplotlib-users] pylab crashes python

2007-01-25 Thread Ken McIvor
Jan, What versions of wxPython and matplotlib are you using? Ken - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business to

[Matplotlib-users] pylab crashes python

2007-01-25 Thread Jan Winter
hi, I use python 2.4, matplotlib and WXpython on OS X. I plot and show something and every thing works fine (the plot is shown in the python.app). I close the plot window. I plot another thing. It is shown again with python.app, but now python.app crashes... every second plot causes a crash in

Re: [Matplotlib-users] pylab crashes python

2007-01-25 Thread Christopher Barker
Jan Winter wrote: > hi, > > I use python 2.4, matplotlib and WXpython on OS X. > > I plot and show something and every thing works fine (the plot is > shown in the python.app). > I close the plot window. > I plot another thing. > It is shown again with python.app, but now python.app crashes...

Re: [Matplotlib-users] pylab crashes python

2007-01-25 Thread Lou Pecora
Are you running the script again or plotting a second time in the same script? You might need to set matplotlib to plot interactively. See the documentaion about interactive plotting. You need to set the back end graphics to the right kind for interactive plotting. E.g. in .matplotlibrc backe