I just committed a simple change that disables pstoeps in ps backend
when "xpdf" distiller is used. Without this, output bbox was incorrect
with "xpdf" distiller and usetex=False.
Getting the correct bbox with the ps backend is very tricky, and it'll
be appreciated if others help me test this.
Here is a simple test script (this needs to be run with most recent
svn version of matplotlib, and you need to able to use ustex=True!).
It will produce 6 eps files. Please check if any of the eps files have
incorrect bbox. And report which file has wrong bbox and your setup :
your OS, gs version number (output from "gs -v"), pdftops version
number (output from "pdftops -v"). It will be also good if you report
your setup even when everything is okay.
import matplotlib.pyplot as plt
for distiller in ["False", "xpdf", "ghostscript"]:
for usetex in ["True", "False"]:
plt.savefig("test_bbox_%s_%s.eps" % (distiller, usetex))