Re: [matplotlib-devel] Exploring

2010-08-09 Thread Tony S Yu
On Jul 30, 2010, at 8:04 PM, Jae-Joon Lee wrote: > I don't think this is just an issue of "bbox_inches" option. For > example, if you create an axes of rect=[0,0,1,1] and save the figure > (w/o bbox_inches option), you will see a similar behavior. > Also, I believe that the result depends on the

Re: [matplotlib-devel] Exploring

2010-07-30 Thread Jae-Joon Lee
I don't think this is just an issue of "bbox_inches" option. For example, if you create an axes of rect=[0,0,1,1] and save the figure (w/o bbox_inches option), you will see a similar behavior. Also, I believe that the result depends on the backends. I think this kind of issue is quite difficult to

Re: [matplotlib-devel] Exploring

2010-07-30 Thread Damon McDougall
Aha! Even without the text, i.e. setting label1On = False for all the major ticks, the behaviour I see is that with bbox_inches = 'tight' and pad_inches = 0.0 I get the saved figure which includes the black border line for the bottom and left edges, but not the top and right edges. This may have

Re: [matplotlib-devel] Exploring

2010-07-30 Thread Eric Firing
On 07/30/2010 06:32 AM, Damon McDougall wrote: > Hmm, it seems as though tick labels get clipped on the top and on the right > when passing bbox_inches='tight' and pad_inches=0.0. I wouldn't expect this > behaviour. Is there perhaps a bug in Bbox.union that's causing this? > Not likely. Much mo

Re: [matplotlib-devel] Exploring

2010-07-30 Thread Damon McDougall
Hmm, it seems as though tick labels get clipped on the top and on the right when passing bbox_inches='tight' and pad_inches=0.0. I wouldn't expect this behaviour. Is there perhaps a bug in Bbox.union that's causing this? Regards, -- Damon -- Damon McDougall Mathematics I

Re: [matplotlib-devel] Exploring

2010-07-30 Thread Tony S Yu
On Jul 30, 2010, at 10:54 AM, Damon McDougall wrote: > Hi, > > I'm interested in fiddling around with the matplotlib source. Let's say we > set up various things: > > from matplotlib.figure import Figure() > from matplotlib.backends.backend_pdf import FigureCanvasPdf as FigureCanvas > > fig =

Re: [matplotlib-devel] Exploring

2010-07-30 Thread Benjamin Root
On Fri, Jul 30, 2010 at 9:54 AM, Damon McDougall wrote: > Hi, > > I'm interested in fiddling around with the matplotlib source. Let's say we > set up various things: > > from matplotlib.figure import Figure() > from matplotlib.backends.backend_pdf import FigureCanvasPdf as FigureCanvas > > fig = F