label the graph in python code example
Example 1: add x axis label python
plt.xlabel("X axis label")
Example 2: python display name plot
plt.plot(x, y, label='First Line')
plt.plot(x2, y2, label='Second Line')
plt.xlabel("X axis label")
plt.plot(x, y, label='First Line')
plt.plot(x2, y2, label='Second Line')