added ability to trim white border from the figures produced by pyplot