i*****f 发帖数: 578 | 1 from pylab import *
figure()
plot(range(10))
show()
savefig('bla.pdf')
存成文件执行,看看savefig()那行是否crash?
好奇怪,前几天还好好的。
Fatal Python error: PyEval_RestoreThread: NULL tstate
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
我的系统:win7, matplotlib 0.99.01 |
a*******h 发帖数: 123 | 2 Work fines on my Ubuntu. And thanks for the savefig( ) tip.
way.
【在 i*****f 的大作中提到】 : from pylab import * : figure() : plot(range(10)) : show() : savefig('bla.pdf') : 存成文件执行,看看savefig()那行是否crash? : 好奇怪,前几天还好好的。 : Fatal Python error: PyEval_RestoreThread: NULL tstate : This application has requested the Runtime to terminate it in an unusual way. : Please contact the application's support team for more information.
|
i*****f 发帖数: 578 | 3 hehe!
thanks! i've found it's the problem of show().
【在 a*******h 的大作中提到】 : Work fines on my Ubuntu. And thanks for the savefig( ) tip. : : way.
|