from matplotlib.matlab import *


gcf().text(0.5, 0.95,
           'Distance Histograms by Category is a really long title',
           fontsize=12)
show()
