Pycharm 报错 “AttributeError: module 'matplotlib' has no attribute 'verbose'”

在练习matplotlib 的时候,运行代码出现了报错
Pycharm 报错 “AttributeError: module 'matplotlib' has no attribute 'verbose'”

解决方法:

在pycharm中" File --> Settings --> Tools --> Python Scientific ",将"Show plots in toolwindow"去掉勾选
Pycharm 报错 “AttributeError: module 'matplotlib' has no attribute 'verbose'”
这样就可以运行啦!
Pycharm 报错 “AttributeError: module 'matplotlib' has no attribute 'verbose'”