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
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
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
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
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
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
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
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
@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
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
...@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
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
12 matches
Mail list logo