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 sure pylab supports this use. I think once you close the plot
window, you have shut down the wx.App, then when you plot again, it
tries to create it again, but you can't start and stop wx.Apps over
again in the same process.
I think you can do what you want by using ipython, so that you don't
have to close the figure window to get your prompt back.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker@...
|