On Jan 30, 2008 4:41 AM, Bernhard Voigt <[EMAIL PROTECTED]> wrote: > Hi, > > I was using something like this: > > f = pylab.figure() > f.text(.4, .95, 'My Title') # coordinates are window coordinates from 0 to 1 > pylab.subplot(421)
if you do >>> f.text(.5, .95, 'My Title', horizontalalignment='center') you will get centering for free and won't have to do the .4 hack JDH ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users