from pylab import figure, text, scatter, show text(0.1, 0.9,'matplotlib', horizontalalignment='center', verticalalignment='center', transform = ax.transAxes)