import numpy as np import matplotlib.pyplot as plt x = np.array([1, 3, 4, 6]) y = np.array([2, 3, 5, 1]) plt.plot(x, y) plt.show()