欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

PyCharm出现module'matplotlib'hasnoattribute'verbose问题的解决方法

程序员文章站 2022-05-23 08:43:36
PyCharm出现module ‘matplotlib’ has no attribute ‘verbose问题!! 在python interpre...

PyCharm出现module ‘matplotlib’ has no attribute ‘verbose问题!!


在python interpreter 中安装matplotlib时出现这种错误。

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

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

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

保存后,重新启动解释器,再次输入代码,就没问题了。