《Matplotlib 图例》经过查询得知,是label而不是lable,正确的代码如下。在使用plt.plot()时,出现错误。说lable属性错误。 ——来自博客 https://blog.csdn.net/weixin_43652205/article/details/127314985