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
matplotlib
Fork me on GitHub

This Page

Add pad kwarg to ax.set_title

The method axes.set_title now has a pad kwarg, that specifies the distance from the top of an axes to where the title is drawn. The units of pad is points, and the default is the value of the (already-existing) rcParams['axes.titlepad'].