There\'s a similar question - but I can\'t make the solution proposed there work.
Here\'s an example plot with a long title:
#!/usr/bin/env python
i
One way to do it is to simply change the font size of the title:
import pylab as plt
plt.rcParams["axes.titlesize"] = 8
myTitle = "Some really really long long long title I really really need - and just can't - just can't - make it any - simply any - shorter - at all."
plt.title(myTitle)
plt.show()

In the answer you linked are several other good solutions that involve adding newlines. There is even an automatic solution that resizes based off of the figure!