Re: [Matplotlib-users] Remove the white padding from a figure

2010-01-14 Thread Pierre de Buyl
For eps files, I use epstool: epstool --copy -b file.eps file_cropped.eps It does not leave any whitespace, which is sometimes annoying. Pierre Le 14 janv. 10 à 17:52, Damon McDougall a écrit : > Hi Ronald, > > I use: > > fig.savefig('graph.eps', bbox_inches='tight', pad_inches=0.03) > > Play w

Re: [Matplotlib-users] Remove the white padding from a figure

2010-01-14 Thread Damon McDougall
Hi Ronald, I use: fig.savefig('graph.eps', bbox_inches='tight', pad_inches=0.03) Play with the parameters and see what you like. Hope that helps. Regards, -- Damon -- Damon McDougall Mathematics Institute University of Warwick Coventry CV4 7AL d.mcdoug...@warwick.ac.uk

[Matplotlib-users] Remove the white padding from a figure

2010-01-14 Thread Ronald Römer
Hello, I try to find out how could I remove the white padding around my figure! I allready searched at google for a long time, but can't find any that changed my problem. Ich create the figure with this two lines: fig = plt.figure() subfig = fig.add_subplot(111) After adding some plots, lines, a