fixed figure axis shrinking for mpl 1.3.0