module #39;matplotlib#39; has no attribute #39;verbose#39;(模块“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"没有属性“详细"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:模块“matplotlib"没有属性“详细"


基础教程推荐
- 在 Django Admin 中使用内联 OneToOneField 2022-01-01
- 比较两个文本文件以找出差异并将它们输出到新的文本文件 2022-01-01
- matplotlib 设置 yaxis 标签大小 2022-01-01
- 在 Python 中将货币解析为数字 2022-01-01
- Python,确定字符串是否应转换为 Int 或 Float 2022-01-01
- kivy 应用程序中的一个简单网页作为小部件 2022-01-01
- Kivy 使用 opencv.调整图像大小 2022-01-01
- Python 中是否有任何支持将长字符串转储为块文字或折叠块的 yaml 库? 2022-01-01
- 究竟什么是“容器"?在蟒蛇?(以及所有的 python 容器类型是什么?) 2022-01-01
- 对多索引数据帧的列进行排序 2022-01-01