|
From: Arne.Bittig <arn...@in...> - 2006-04-06 12:14:57
|
Hi, I am using matplotlib to draw graphs. When I try to save a picture (using savefig; usually as png, but at some point I might need eps files as well), the actual graph comprises less than the central 50% of the image, the rest of the image is wasted space. I already tried figure(frameon = False, facecolor = 'w') and box(False) to get rid of the redundant frame, but apparently it did not help (apart from removing the black frame, obviously, but what I want is to save only what is inside this frame). Any ideas how to do this? If not, does anyone know a python tool that handles pngs and would enable me to crop the picture in a second step? Arne |