Questions tagged «tech-chat-ml»

14
尽管我调用pyplot.show(),但matplotlib不会显示我的绘图
matplotlib上需要帮助。是的,我没有忘记调用pyplot.show()。 $ ipython --pylab import matplotlib.pyplot as p p.plot(range(20), range(20)) 它matplotlib.lines.Line2D at 0xade2b2c作为输出返回。 p.show() 没事了 没有错误讯息。没有新窗口。没有。我matplotlib使用pip进行安装,但未收到任何错误消息。 细节: 我用, 的Ubuntu IPython v0.11 Python v2.6.6 matplotlib v1.0.1
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.