title pad?

Is there anything like a title pad, similar to the xaxis.LABELPAD?
I'd like to see if the plot would look better with the title a bit higher
off the plot.

Thanks,
Che

As far as I know, there is no user settable attribute. But something
like below will work.

ax = gca()
title("My title")

ax.titleOffsetTrans._t = (0., 10.0/72.) # x, y offset in points/72.
default is (0., 5/72.)
ax.titleOffsetTrans.invalidate()

draw()

Alternatively, you may use

ax.title.set_y(1.1) # y position of the title in the normalized axes
coordinate. default 1.0

-JJ

ยทยทยท

On Mon, Feb 9, 2009 at 2:08 AM, C M <cmpython@...287...> wrote:

Is there anything like a title pad, similar to the xaxis.LABELPAD?
I'd like to see if the plot would look better with the title a bit higher
off the plot.

Thanks,
Che

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users