# Plot line graph from NumPy array in Python # importing the modulesimport numpy as npimport matplotlib.pyplot as plt# data to be plottedx = np.arrange(1, 11)y = x * x# plottingplt.title("Line graph")plt.xlabel("X axis")plt.ylabel("Y axis")plt.plot(x, y, color ="red")plt.show()