Decreasing blank image space?

Hi all,
well, I'm sorry to wake up an old thread, but what if there are subplots in
the figure ? I tried to ask

  axes([0.1, 0.1, 0.9, 0.9])

before specifying my subplot()s, but it changed nothing.

How to reduce the margin of the whole figure when it has subplots ?

Cheers,
Nicolas

···

On 2005-04-09 11:59:54 GMT, John Hunter wrote:

The Axes is the white space that contains the lines, rectangles, text
etc. The Figure is the whole canvas that contains the Axes. The
default Axes is created by Subplot(111) which leaves empty space at
the left, bottom, top, right and bottom. You can create your own Axes
dimensions. with the "axes" command

   http://matplotlib.sf.net/matplotlib.pylab.html#-axes

Eg, to leave no room at right or top, use

  ax = axes([0.1, 0.1, 0.9, 0.9])