What is the meaning of label in matplotlib.pyplot.plot? Whether I use a label or not, I can’t see the difference.
In the matplotlib page it describes this as:
https://matplotlib.org/stable/api/_as_gen/matplotlib.artist.Artist.set_label.html#matplotlib.artist.Artist.set_label
Set a label that will be displayed in the legend.