plt.xlabel 'str' object is not callable

Posted ivyharding

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了plt.xlabel 'str' object is not callable相关的知识,希望对你有一定的参考价值。

参考

原因:技术图片

 

 解决:重启    或者   重新导入matplotlib

 

以上是关于plt.xlabel 'str' object is not callable的主要内容,如果未能解决你的问题,请参考以下文章

python这个怎么绘图?

scikit-learn : 线性回归,多元回归,多项式回归

python matplotlib模块 如何画两张图出来

Python绘图如何显示中文标题

python matplotlib的坐标轴怎么设置范围

numpy与Matplotlib的应用