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.