### Bug summary As of #20426 calling `Figure.set_tight_layout(False)` does not disable the tight layout algorithm. ### Code for reproduction ```python 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() ``` ### Actual outcome AssertionError ### Expected outcome clean exit ### Additional information I'm pretty sure [this branch](https://github.com/matplotlib/matplotlib/blob/88371856684ee5ca12a04a084354d8592e49386e/lib/matplotlib/figure.py#L2502-L2503) just needs to set `self.set_layout_engine(None)` in the falsey case. Attn: @jklymak ### Operating system _No response_ ### Matplotlib Version main ### Matplotlib Backend _No response_ ### Python version _No response_ ### Jupyter version _No response_ ### Installation _No response_
Activity
Fix toggle layout engines
Fix toggling layout engines