You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 2.1.1.post1088+gf4bcca3
Fork me on GitHub

This Page

Axes legends now included in tight_bbox

Legends created via ax.legend() can sometimes overspill the limits of the axis. Tools like fig.tight_layout() and fig.savefig(bbox_inches='tight') would clip these legends. A change was made to include them in the tight calculations.