Consider this example:
import matplotlib.pyplot as plt fig, axs = plt.subplots(1, 3, figsize=(9,3), constrained_layout=False) [ax.plot([[0,0],[1,1]]) for ax in a