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...
I'm not
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
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
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()