plot directions matplotlib code example Example: matplotlib.pyplot plt.plot([1, 2, 3, 4], [1, 4, 9, 16]) # plot x against y