SyntaxFix
Write A Post
Hire A Developer
Questions
You can use pad for this case:
ax.set_title("whatever", pad=20)