As of #20426 calling Figure.set_tight_layout(False) does not disable the tight layout algorithm.
from matplotlib import pyplot as plt fig, ax = plt.subplots() fig.set_tight_layout(True) fig.set_tight_layout(False) assert not fig.get_tight_layout()
AssertionError
clean exit
I'm pretty sure this branch just needs to set self.set_layout_engine(None) in the falsey case. Attn: @jklymak
No response
main
Fix toggle layout engines
Fix toggling layout engines
Activity
Fix toggle layout engines
Fix toggling layout engines