You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 2.0.0b1.post7580.dev0+ge487118
matplotlib
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.