labeling plot in python code example Example: python display name plot plt.plot(x, y, label='First Line') plt.plot(x2, y2, label='Second Line')