Version 3.1.1
matplotlib
Fork me on GitHub

matplotlib.artist.Artist.get_in_layout

Artist.get_in_layout(self)[source]

Return boolean flag, True if artist is included in layout calculations.

E.g. Constrained Layout Guide, Figure.tight_layout(), and fig.savefig(fname, bbox_inches='tight').