From: John H. <jd...@gm...> - 2008-01-30 16:58:17
|
On Jan 30, 2008 4:41 AM, Bernhard Voigt <Ber...@de...> 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 |