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
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
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