You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: plt.tight_layout() after layout='constrained' should at least warn #24387
tight_layout is called, and constrained_layout is ignored. This was originally done because constrained_layout was experimental. However, people seem to think constrained_layout is not working because they have copy-and-pasted, or reflexively added plt.tight_layout.
I'd propose that we at least warn if plt.tight_layout is called on a figure with an active layout manager. I'd also be open to this being an error.
Activity
rcomer commentedon Feb 6, 2023
Is this closed by #24528?
timhoffm commentedon Sep 19, 2024
Yes.