Re: [Matplotlib-users] Controling legend alignment

2006-10-30 Thread David L Goldsmith
John Hunter wrote: >> "David" == David Goldsmith <[EMAIL PROTECTED]> writes: >> > > David> OK, I was afraid of that; in that case, is there some way > David> to get the height and width of the legend (so I can do what > David> I want programatically)? Thanks again,

Re: [Matplotlib-users] Controling legend alignment

2006-10-30 Thread Christopher Barker
John Hunter wrote: > The legend placement is done dynamically at draw time, Ah, so it looks like it does make sense for the user to specify an alignment, and have it figured out at draw time. > It might be better to patch legend directly to do what you want and > send the patch our way. Or subc

Re: [Matplotlib-users] Controling legend alignment

2006-10-30 Thread John Hunter
> "David" == David Goldsmith <[EMAIL PROTECTED]> writes: David> OK, I was afraid of that; in that case, is there some way David> to get the height and width of the legend (so I can do what David> I want programatically)? Thanks again, Again, afraid not. At least nothing obvious.

Re: [Matplotlib-users] Controling legend alignment

2006-10-30 Thread David Goldsmith
John Hunter wrote: >> "David" == David Goldsmith <[EMAIL PROTECTED]> writes: >> > > David> Hi! OK, loc=(a,b) positions the legend, and appears to > David> place the lower left corner at (a,b) (axes coords.), right? > > yes > > David> Is there some way to say that (

Re: [Matplotlib-users] Controling legend alignment

2006-10-30 Thread John Hunter
> "David" == David Goldsmith <[EMAIL PROTECTED]> writes: David> Hi! OK, loc=(a,b) positions the legend, and appears to David> place the lower left corner at (a,b) (axes coords.), right? yes David> Is there some way to say that (a,b) should specify the David> location of, say

[Matplotlib-users] Controling legend alignment

2006-10-29 Thread David Goldsmith
Hi! OK, loc=(a,b) positions the legend, and appears to place the lower left corner at (a,b) (axes coords.), right? Is there some way to say that (a,b) should specify the location of, say, the center of the legend? Thanks! DG --