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"没有属性“详细"


- ";find_element_by_name(';name';)";和&QOOT;FIND_ELEMENT(BY NAME,';NAME';)";之间有什么区别? 2022-01-01
- 我如何透明地重定向一个Python导入? 2022-01-01
- CTR 中的 AES 如何用于 Python 和 PyCrypto? 2022-01-01
- 检查具有纬度和经度的地理点是否在 shapefile 中 2022-01-01
- 计算测试数量的Python单元测试 2022-01-01
- 使用 Cython 将 Python 链接到共享库 2022-01-01
- 如何使用PYSPARK从Spark获得批次行 2022-01-01
- YouTube API v3 返回截断的观看记录 2022-01-01
- 我如何卸载 PyTorch? 2022-01-01
- 使用公司代理使Python3.x Slack(松弛客户端) 2022-01-01