Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
YunnuoFan opened this issue Mar 12, 2018 · 1 comment
Closed

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

YunnuoFan opened this issue Mar 12, 2018 · 1 comment

Comments

@YunnuoFan
Copy link

Bug report

Bug summary

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

Code for reproduction

# from matplotlib import cbook, pyplot as plt, style
#
#

Actual outcome

Traceback (most recent call last):
  File "C:/Users/95235/Desktop/history-1.py", line 4, in <module>
    from matplotlib import cbook, pyplot as plt, style
  File "D:\JetBrains\pyEnv\python363\lib\site-packages\matplotlib\pyplot.py", line 115, in <module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "D:\JetBrains\pyEnv\python363\lib\site-packages\matplotlib\backends\__init__.py", line 62, in pylab_setup
    [backend_name], 0)
  File "D:\JetBrains\PyCharm 2017.3\helpers\pycharm_matplotlib_backend\backend_interagg.py", line 17, in <module>
    verbose = matplotlib.verbose
AttributeError: module 'matplotlib' has no attribute 'verbose'

Expected outcome

"verbose = matplotlib.verbose"(line in in backend_interagg.py) should be "verbose = matplotlib.Verbose"

Matplotlib version

  • Operating system: Windows 10
  • Matplotlib version: matplotlib-2.2.0
  • Matplotlib backend (print(matplotlib.get_backend())): module://backend_interagg
  • Python version: python 3.6.3
  • Jupyter version (if applicable):
  • Other libraries:

pip install matplotlib

@jklymak
Copy link
Member

jklymak commented Mar 12, 2018

This is a duplicate w/ #10716, and a fix is in. In PyCharm, you can disable the built-in backend: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000097690-AttributeError-module-matplotlib-has-no-attribute-verbose-?page=1#community_comment_360000089824

Note that JetBrains appear to have a fix (see the next comment linked above)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants