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
FR: add a supxlabel and supylabel as the suptitle function which are already exist #11147
I did not manage to find if supxlabel/supylabel exist, but I think it should be a direct extension to suptitle (for subplots) and might be worth implementing.
To translate this: What the user wants is a figure level function that creates a label for a set of subplots, similar to how fig.suptitle("dada") creates a title for the complete figure.
There is a user script for Matlab which provides such function under the name of suplabel.
A respective SO question seems to be pretty popular.
However, I think the only true advantage such function would have compared to a manually placed text is if it was possible to include it in the geometry management for subplots.
I am intrigued. Question: should the supxlabel and supylabel text have a
different font size, much like suptitle? Also, should there be rcparams for
this, similar to what suptitle has? Right now, there is a figure.titlesize
which is used for suptitle. I would guess the equivalent would be
figure.labelsize and such?
Activity
ImportanceOfBeingErnest commentedon Apr 30, 2018
To translate this: What the user wants is a figure level function that creates a label for a set of subplots, similar to how
fig.suptitle("dada")creates a title for the complete figure.There is a user script for Matlab which provides such function under the name of
suplabel.A respective SO question seems to be pretty popular.
However, I think the only true advantage such function would have compared to a manually placed
textis if it was possible to include it in the geometry management for subplots.jklymak commentedon Apr 30, 2018
This is doable in the constrained_layout manager, not in tight_layout.
jklymak commentedon Jan 30, 2019
Cross-ref #13072 as a similar issue
WeatherGod commentedon Jan 30, 2019
jklymak commentedon Jan 30, 2019
Yes, I think so. BTW, I'd like this attached to gridspec rather than figure, so that there can be two "subfigures" in a paretn figure.
There will be centering complaints (see #13072) that I don't think are trivial.
bilalhsyed commentedon Mar 22, 2019
I'd like to take a go at this in the next couple weeks. Will ask more questions here as I get started.