Dear Jakob and Ben,
I am seeing the same error. This is with a clean install of Python 2.7,
numpy 1.6.1, and matplotlib 1.0.1 (all 32-bit versions running under a Win 7
64-bit OS). In fact, all I am doing to test this is to execute the
'embedding_in_tk.py' example that is on the examples web page, with the
button calls at the end of the script uncommented. Any attempt to use that
'Quit' button causes the NULL tstate error.
Any info on this would be appreciated. I'm not saying I'm an expert, but
given that this isn't working "out of the box," it appears to be a bug.
Benjamin Root-2 wrote:
On Wed, Aug 3, 2011 at 3:50 AM, Jakob123 > <jakob.gleissl@...3436...>wrote:
I am using PyPlot to draw onto a Tkinter GUI (in Python 2.6). Works fine,
but when I close the window (root.destroy()) PyPlot apparently crashes
the error message "Fatal Python error: PyEval_RestoreThread: NULL tstate"
A little while back, we put out an important v1.0.1 release that addressed
many issues with the various backends. While I don't remember all of the
bugs it fixed, it may have fixed that one. I would suggest installing
version and seeing if it work for you.
View this message in context: http://old.nabble.com/PyPlot-crashes-upon-closing-tp32184426p32304069.html
Sent from the matplotlib - users mailing list archive at Nabble.com.