📜  为什么 python 在 plt.show() 之后停止 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:06.953000             🧑  作者: Mango

代码示例1
from matplotlib.pyplot import plot, draw, show
plot([1,2,3])
draw()
print('continue computation')

# at the end call show to ensure window won't close.
show()