Description
Edit: See #5824 (comment) for the doc related issue.
Currently, applying tight_layout and resizing the figure do not commute (e.g., after subplots(2); tight_layout()
and a manual maximization of the figure size, applying tight_layout
again changes the margins). This is basically due to the fact that certain paddings (and text sizes) are in absolute units, which is fairly reasonable.
However, it would be nice if an option was available to add a callback to figure resize events to auto-re-tightlayout when that happens.
The following part is solved by the yet-to-be-merged #5772.
This kind of feature may become even more useful now that #5588 (number of ticks determined from physical length of axis) has been merged, as the number of ticks should, well, also be adjusted when the figure is resized (or rather, the option to do so should be (easily) available).