Changed savefig default format to pdf in matplotlibrc.