crop white space of image

Hello,

I plot views of 3D data without axis. The plotting results usually in plenty of surrounding white space. Is there an easy way to get rid of it (easy meaning without having to keep track of the spacial extension of my 3D data) ?

Thanks in advance,

Ruben

figure.subplots_adjust() can be used to control various margins within
the figure. When saving with savefig(), you can also specify
bbox_inches='tight' which tells it to figure out the actual bounding
box of you plot for saving, which eliminates a lot of whitespace.

Ryan

ยทยทยท

On Mon, May 17, 2010 at 6:07 AM, Ruben Moor <ruben.moor@...287...> wrote:

Hello,
I plot views of 3D data without axis. The plotting results usually in plenty
of surrounding white space. Is there an easy way to get rid of it (easy
meaning without having to keep track of the spacial extension of my 3D data)
?

--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma