Re: [Matplotlib-users] Runtime Error - Need Advice

2010-02-10 Thread Lee Boger
upgrade. Lee Christoph Gohlke cgoh...@uci.edu 02/09/2010 04:35 PM To matplotlib-users matplotlib-users@lists.sourceforge.net cc Subject Re: [Matplotlib-users] Runtime Error - Need Advice Caterpillar: Confidential Green Retain Until: 03/11/2010 I can now reproduce this. It seems the same

[Matplotlib-users] Runtime Error - Need Advice

2010-02-09 Thread Lee Boger
Windows XP Professional with Python 2.5 installed (pywin32 build 210) - came with dSPACE software package Downloaded and installed matplotlib-0.99.1.win32-py2.5.exe from sourceforge.net Downloaded and installed numpy-1.4.0-win32-superpack-python2.5.exe from sourceforge.net Executing the

Re: [Matplotlib-users] Runtime Error - Need Advice

2010-02-09 Thread Christoph Gohlke
Change the last line to pylab.show() and it should work. Anyway, this example should not crash the interpreter. I can reproduce the crash on Python 2.4, 2.5, and 2.6 (32 and 64 bit) on Windows with mpl 0.99.1 but not on Ubuntu 9.1 with mpl 0.99.0. The shortest example that crashes is: python -c

Re: [Matplotlib-users] Runtime Error - Need Advice

2010-02-09 Thread Eric Firing
Lee Boger wrote: Windows XP Professional with Python 2.5 installed (pywin32 build 210) - came with dSPACE software package Downloaded and installed matplotlib-0.99.1.win32-py2.5.exe from sourceforge.net Downloaded and installed numpy-1.4.0-win32-superpack-python2.5.exe from

Re: [Matplotlib-users] Runtime Error - Need Advice

2010-02-09 Thread Christoph Gohlke
To Lee Boger boger_...@cat.com cc Subject Re: [Matplotlib-users] Runtime Error - Need Advice Caterpillar: Confidential GreenRetain Until: 03/11/2010 Change the last line to pylab.show() and it should work. Anyway, this example should

Re: [Matplotlib-users] Runtime Error - Need Advice

2010-02-09 Thread Eric Firing
To Lee Boger boger_...@cat.com cc matplotlib-users@lists.sourceforge.net Subject Re: [Matplotlib-users] Runtime Error - Need Advice Caterpillar: Confidential GreenRetain Until: 03/11/2010 Lee Boger wrote: Windows XP

Re: [Matplotlib-users] Runtime Error - Need Advice

2010-02-09 Thread Lee Boger
Thanks for your help. I'll look into ipython. Lee Eric Firing efir...@hawaii.edu 02/09/2010 02:31 PM To Lee Boger boger_...@cat.com, matplotlib-users matplotlib-users@lists.sourceforge.net cc Subject Re: [Matplotlib-users] Runtime Error - Need Advice Caterpillar: Confidential Green

Re: [Matplotlib-users] Runtime Error - Need Advice

2010-02-09 Thread Christoph Gohlke
PM To matplotlib-users matplotlib-users@lists.sourceforge.net cc Subject Re: [Matplotlib-users] Runtime Error - Need Advice Caterpillar: Confidential GreenRetain Until: 03/11/2010 Use pylab.savefig('log_plot'). Also saving

Re: [Matplotlib-users] Runtime Error - Need Advice

2010-02-09 Thread Lee Boger
@lists.sourceforge.net cc Subject Re: [Matplotlib-users] Runtime Error - Need Advice Caterpillar: Confidential Green Retain Until: 03/11/2010 Lee Boger wrote: Thanks for the quick feedback. I changed the last line from figure.figure.show() to pyplot.show() and it worked without crashing

Re: [Matplotlib-users] Runtime Error - Need Advice

2010-02-09 Thread Lee Boger
Python version 2.5.1, Tk version 8.4, IDLE version 1.2.1 Lee Christoph Gohlke cgoh...@uci.edu 02/09/2010 03:08 PM To matplotlib-users matplotlib-users@lists.sourceforge.net cc Subject Re: [Matplotlib-users] Runtime Error - Need Advice Caterpillar: Confidential Green Retain Until: 03/11

Re: [Matplotlib-users] Runtime Error - Need Advice

2010-02-09 Thread Christoph Gohlke
...@uci.edu* 02/09/2010 01:23 PM To Lee Boger boger_...@cat.com cc Subject Re: [Matplotlib-users] Runtime Error - Need Advice Caterpillar: Confidential GreenRetain Until: 03/11/2010 Change the last line to pylab.show

Re: [Matplotlib-users] Runtime Error - Need Advice

2010-02-09 Thread Christoph Gohlke
To close this thread: the PyEval_RestoreThread crash is a known bug in the tkagg backend on Windows. See line 375 of backend_tkagg.py: def show(self): this function doesn't segfault but causes the PyEval_RestoreThread: NULL state bug on win32 -- Christoph