From: Jae-Joon L. <lee...@gm...> - 2012-01-30 04:49:50
|
Please see if this PR works. https://github.com/matplotlib/matplotlib/pull/689 Regards, -JJ On Mon, Jan 30, 2012 at 1:03 PM, Jae-Joon Lee <lee...@gm...> wrote: > On Mon, Jan 30, 2012 at 5:26 AM, Jeff Whitaker <js...@fa...> wrote: >> unless matplotlib takes into account all the artist >> objects associated with a figure. > > My primary reason behind not accounting all the artists was that, in > general, Matplotlib does not know the exact bounding box of artists > when the artists are clipped. > > In the current implementation, axes title, axis labels and ticklabels > are only accounted, and we have an optional parameter of > *bbox_extra_artists* so that users can manually change this behavior. > > By the way, for now, I'm more inclined to change the behavior to > account all the texts artists (at least), although we may see white > space sometimes. > > Regards, > > -JJ |