How to remove the white space arround the graph?


I was reading thought the docs but was unable to find a way to do the following:
When I generate a graph and then save it to a file via savefig() call
there is some white space arround the graph. How do I remove it

Example graph:
Script source:

I guess this is probably a pretty newbe 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:



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

*icq: 224720322
*skype: petar_maric