How to remove the white space arround the generated graph?

Hi all,

First of all, thank you for this awesome library, you mad my life heck
of a lot easier - no really :slight_smile:

I'm interested into how to remove the whitespace which is around the
figure? You can really see it when you export your picture via

Example graph:
Script source:

I guess this is probably a pretty newbie question, but I'm really not
into all of this, I'm just a user trying to make some pretty pictures
for a student project :slight_smile:


PS: Sorry for the repost - but it seems you only reply to mail
starting with "[Matplotlib-users] "


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

*icq: 224720322
*skype: petar_maric