-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello Frank,
Re my own commit with the cropping script: it crops pdf files to remove white border. All automated. Isn't it a beauty to read? :-)
Where do these borders come from? Given the beauty of the script I guess there is no easier option to not have them created in the first place? :)
Matplotlibs savefig has an option to get tight bounding boxes
http://stackoverflow.com/questions/3130072/matplotlib-savefig-image-trim
though using only removes the whitespace on the right hand side.
Using pdfcrop (which is reasonably sane, it's just the bash script in a makefile using gawk which is somewhat horrible) just seemed like safer/faster way of getting rid of any white space around plots.
Yours, Roland
- -- My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from http://keys.gnupg.net.