AttributeError: module ‘matplotlib‘ has no attribute ‘verbose‘

梦里梦外; 2023-06-25 04:46 28阅读 0赞

今天在使用matplotlib时报错 AttributeError: module ‘matplotlib’ has no attribute ‘verbose’

刚开始以为是在python interpreter 中安装matplotlib时出现这种错误。

其实不是安装错了,也不是代码问题,而是PyCharm的问题。

进入 Setting->Tools->Python Scientific目录
这个栏目下有一行文字:
Show plots in toolwindow;

把前边的对勾去掉就可以了。

保存后,重新启动解释器,就没问题了。

发表评论

表情:
评论列表 (有 0 条评论,28人围观)

还没有评论,来说两句吧...

相关阅读