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

查看:42
本文介绍了模块“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 中,转到文件 |设置 |工具 |蟒蛇科学.有一个选项可以在工具窗口中显示图".取消选中此选项.然后它应该可以正常工作.它与 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天全站免登陆