You are reading an old version of the documentation (v3.1.1). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.artist.Artist.get_in_layout.html
Version 3.1.2
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').