from matplotlib import pyplot as plt x = [10,20,30,40,50,60,70,80,90,100,110] y = [200,300,300,350,380,450,500,500,520,525,530] plt.title('MyPlot') plt.xlabel('X Axis') plt.ylabel('Y Axis') plt.plot(x, y) plt.show()