It seems this stopped working after commit r8906 (svn) or 32f64b01c98d1e3b51be57ab49c899cf91017817:
r8906 | efiring | 2011-01-11 21:53:37 -1000 (Tue, 11 Jan 2011) | 2 lines Fix eps distillation bbox bug; closes 3032385 I have opened a ticket on GitHub: https://github.com/matplotlib/matplotlib/issues/85 Cheers, Tom On Friday, April 15, 2011 at 7:22 PM, Thomas Robitaille wrote: Hello, > > It seems that at some point in the last few months a change was made that > means that the following code no longer works properly: > > --- > > import matplotlib as mpl > mpl.use('Agg') > import matplotlib.pyplot as plt > import numpy as np > > mpl.rc('text', usetex=True) > > fig = plt.figure() > ax = fig.add_axes([0.1,0.1,0.3,0.3]) > fig.savefig('test.eps', bbox_inches='tight') > > --- > > This produces a file that does not have the right bounding box (it's as if I > wasn't specifying bbox_inches=True). Can anyone else reproduce this issue? If > so, I'll open a ticket. > > Thanks, > Tom > ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users