From: Benjamin R. <ben...@ou...> - 2012-04-12 13:51:55
|
On Thu, Apr 12, 2012 at 2:05 AM, Jonathan Bruck <jdt...@gm...> wrote: > Hi all, > > Forgive me as this is the first time I've posted here. I've asked a > question on StackOverFlow: > > > http://stackoverflow.com/questions/10101700/moving-matplotlib-legend-outside-of-the-axis-makes-it-cutoff-by-the-figure-box#comment12952803_10101700 > > The question relates to adjusting the size of the figure box to > accommodate a large legend when the legend is placed below instead of on > top of the axes. > > I thought I'd post here to see if there are any other answers to avoiding > having the figure box cut off the bottom of the legend. > > Thanks > > Jonathan > -- > There are no passengers on Spaceship Earth. We are all crew. > > E: jdt...@gm... > > If you only care about saving the figure, the savefig() method can take bbox='tight' and bbox_extra_artists=[legnd_obj] arguments (assuming you save the legend to such a variable. As for on-screen displays, I have yet to find a solution. Ben Root |