I tried enabling constrained_layout via the rcParams for a single subplot with a legend. It gave a warning that the layout collapsed, and there was a big gap between subplot squashed to the left and ...