Re: [Matplotlib-users] Agg eps and bounding box / OO problems

2007-02-05 Thread Eric Firing
Darren Dale wrote: [...] > Perhaps reducing the image size to the visible elements would be a good > option > for all output formats? This sounds to me like a very desirable option to have. I have not thought at all about implementation, though. Eric -

Re: [Matplotlib-users] Agg eps and bounding box / OO problems

2007-02-05 Thread Berthold Höllmann
"John Hunter" <[EMAIL PROTECTED]> writes: > On 2/5/07, Berthold Höllmann 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 d

Re: [Matplotlib-users] Agg eps and bounding box / OO problems

2007-02-05 Thread Darren Dale
On Monday 05 February 2007 05:23:04 pm John Hunter wrote: > On 2/5/07, Darren Dale <[EMAIL PROTECTED]> wrote: > > 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

Re: [Matplotlib-users] Agg eps and bounding box / OO problems

2007-02-05 Thread John Hunter
On 2/5/07, Darren Dale <[EMAIL PROTECTED]> wrote: > 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. I'm happy to be wrong (especially because then we

Re: [Matplotlib-users] Agg eps and bounding box / OO problems

2007-02-05 Thread Darren Dale
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

Re: [Matplotlib-users] Agg eps and bounding box / OO problems

2007-02-05 Thread John Hunter
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 bo

Re: [Matplotlib-users] Agg eps and bounding box / OO problems

2007-02-05 Thread Darren Dale
On Monday 05 February 2007 04:06:45 pm Berthold Höllmann wrote: > With the script > > > from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas > from matplotlib.figure import Figure > from matplotlib.patches import Rectangle > fig = Figure() > canvas = FigureCanvas(fig) >

[Matplotlib-users] Agg eps and bounding box / OO problems

2007-02-05 Thread Berthold Höllmann
With the script from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure from matplotlib.patches import Rectangle fig = Figure() canvas = FigureCanvas(fig) ax = fig.add_subplot(111) ax.plot([.5,.7],[1.5, 2.5]) ax.add_artist(Rectangle((.