SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: jm982 <jm...@ao...> - 2009年12月31日 09:00:17
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.
From: jm982 <jm...@ao...> - 2010年01月03日 03:32:04
AlanIsaac wrote:
> 
> http://matplotlib.sourceforge.net/faq/howto_faq.html#use-show
> 
> 
Thanks. Obviously, I did not do a good enough job reading the faq...
-- 
View this message in context: http://old.nabble.com/Problem-with-multiple-plots-tp26976541p26998858.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /