matplotlib 错误show() got an unexpected keyword argument ‘block‘

matplotlib 错误show() got an unexpected keyword argument ‘block‘,第1张

matplotlib 错误show() got an unexpected keyword argument ‘block‘

主要是使用了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

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5157004.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-11-18
下一篇 2022-11-18

发表评论

登录后才能评论

评论列表(0条)

保存