在Python解释器中的这些指令之后,获得一个带有绘图的窗口:
from matplotlib.pyplot import * plot([1,2,3]) show() # other code
不幸的是,我不知道如何继续以交互方式探索show()在程序进行进一步计算时创建的图形.
show()
有可能吗?有时计算很长,如果他们在检查中间结果期间继续进行计算会有所帮助.
python plot matplotlib
matplotlib ×1
plot ×1
python ×1