How to remove the white space arround the generated graph?

Hi John, Unfortunately, that also didn't do what I wanted.

    > I tried a different backend today - Cairo, and got the same
    > results

You should then try the svn version of mpl or try the alpha trick I
suggested.

JDH

Hi John,

You should then try the svn version of mpl or try the alpha trick I
suggested.

You mean like this?

# CODE
from pylab import *
x = range(10)
fig = figure(1, facecolor='r')
fig.frameon = False
fig.figurePatch.set_alpha(0.0)
scatter(x, x)
savefig('figure.png')
# /CODE

I've got the same results.

Ok, so what do I need to do to make the subversion trunk work? Just
check out /trunk/matplotlib/lib and put it in my PYTHON_PATH or is
there something else I need to do?

Regards,

···

--
Petar Marić
*e-mail: petar.maric@...287...
*mobile: +381 (64) 6122467

*icq: 224720322
*skype: petar_maric
*web: http://www.petarmaric.com/