Currently, a user could programatically change subplot layouts using
plt.rcParams['figure.constrained_layout.use'] = True
Matplotlib allows things to be dynamic after window is deployed, by letting a user configure subplots using the
Subplot configuration tool - where one could edit parameters like the ones in the image below.
Add a slider with discrete steps which would change the plot using
Slider with continuous steps, which would shrink/expand the distance between artists.