I’m trying to plot multiple lines like this on macOS:
from matplotlib import pyplot as plt
plt.plot([0,1], [2,3])
plt.plot([0,1], [4,1])
plt.show()
This only shows the first line. If I switch the backend to something other than "MacOSX"
, this works. Is this expected behavior for the default backend on macOS? What am I missing?