I have the following MWE
fig1, ax1 = plt.subplots() ax1.plot([1,2,3,4]) plt.show() fig2, ax2 = plt.subplots() ax2.plot([9,8,7,6]) plt.show()