import matplotlib.pyplot as plt x = [1,2,3,4,5] y = [0,3,2,7,9] plt.figure() plt.plot(x, y,'r-', lw =5) plt.show()