#pip install matplotlib numpy import matplotlib.pyplot as plt import numpy as np xpoints = np.array([1, 2, 6, 8, 12]) ypoints = np.array([3, 8, 1, 10, 14]) plt.plot(xpoints, ypoints) plt.show()