import matplotlib.pyplot as plt import numpy as np x=np.array([1,2,3,4]) y=np.array([29,50,70,49]) plt.plot(x,y) plt.show()