matplotlib plot vs code example Example: figure vs plot matplotlib fig1, ((ax1, ax2), (ax3, ax4)) = plt.subplots(2, 2)