matplotlib.artist.Artist.set_label

Artist.set_label(s)[源代码]

设置将在图例中显示的标签。

参数:
s对象

s 将通过调用 str .