matplotlib figure show code example Example: matplotlib show plot import matplotlib.pyplot as plt plt.plot(x, y) plt.plot(z, t) plt.show()