模块"matplotlib"没有属性“详细" [英] module 'matplotlib' has no attribute 'verbose'

查看:170
本文介绍了模块"matplotlib"没有属性“详细"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在终端中运行程序,但是当我直接使用Pycharm运行该程序时,它会显示

I can run my program in the terminal, but when I run it directly using Pycharm, it gives

AttributeError:模块'matplotlib'没有属性'verbose'

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

推荐答案

我想我找到了答案.我遇到了同样的问题.在PyCharm Professional 2017.3中,转到文件|设置|工具| Python科学.那里有一个选项在工具窗口中显示图".取消选中此选项.然后应该可以了.这与PyCharm试图通过允许您与地块进行交互来帮助您有关-正如本期讨论中所暗示的那样. https://youtrack.jetbrains.com/issue/PY-26652

I think I found the answer. I was having the same problem. In PyCharm Professional 2017.3, go to File | Settings | Tools | Python Scientific. There is an option there to "Show plots in toolwindow". Uncheck this option. Then it should work ok. It has something to do with PyCharm trying to help you by allowing you to interact with your plots - as hinted at in this issue discussion. https://youtrack.jetbrains.com/issue/PY-26652

这篇关于模块"matplotlib"没有属性“详细"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆