On Monday 05 February 2007 04:57:40 pm John Hunter wrote: > On 2/5/07, Berthold Höllmann <[EMAIL PROTECTED]> wrote: > > I get a file 'test.eps'. Using matplotlib 0.87.7 the PS bounding box > > of the generated plot is far to wide. Is this a problem with my script > > or a Problem of FigureCanvasAgg (and FigureCanvasPS)? What can I do to > > get a tight bounding box? > > This is a problem with the way PS computes the bounding box -- it uses > the bounding box of the Figure and ignores the fact that much of your > figure is whitespace. It should compute the bounding box of the > visible figure elements, so this should be considered a bug.
I respectfully disagree. The current behavior is consistent with other output formats, such as png. If we want to support tight bounding boxes, maybe it would be better to do so with a kwarg. Darren ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users