import matplotlib.pyplot as plt plt.subplot(1, 2, 1) plt.plot([1, 2, 3], [0, 0.5, 0.2]) plt.subplot(1, 2, 2) plt.plot([3, 2, 1], [0, 0.5, 0.2]) plt.suptitle('Implicit Interface: re-call subplot') for i in range(1, 3): plt.subplot(1, 2, i) plt.xlabel('Boo')