Increase distance between title and plot in matplolib? [duplicate]

With matplotlib 2.2+, you can use the keyword argument pad:

ax.set_title('Title', pad=20)

Adjust pad until you’re happy with the axis title position. The advantage of this method over using rcParams is that it only changes this one axis title.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)