When I run the script below, the first plot window prints fine, but the
second plot causes the script to crash and prints this error message:
<<
Fatal Python error: PyEval_RestoreThread: NULL tstate
This application has requested the Runtime to terminate in an unusual way.
Please contact the applications support team for more information.
>>

Anybody know what I'm doing wrong?  (WinXP, Matplotlib 0.99.1, Python v2.5)



import matplotlib.pyplot as plt

y=[1,2,3,2,1]
plt.plot(y)
plt.show()

raw_input("hit [enter] to show the next plot: ")

z=[4,5,4,5,4]
plt.plot(z)
plt.show()
-- 
View this message in context: 
http://old.nabble.com/Problem-with-multiple-plots-tp26976541p26976541.html
Sent from the matplotlib - users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to