主要是使用了plt.pause
先查看自己的import matplotlib as mpl;print(mpl.__version__)
看看是否自己的版本过低造成的,我这里的版本是3.1.2
解决方法(升级):
python3 -m pip install -U matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
主要是使用了plt.pause
先查看自己的import matplotlib as mpl;print(mpl.__version__)
看看是否自己的版本过低造成的,我这里的版本是3.1.2
解决方法(升级):
python3 -m pip install -U matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple