Re: [Matplotlib-users] how to get legend size, try #2.

2010-11-08 Thread Jae-Joon Lee
On Sat, Oct 30, 2010 at 2:16 PM, Paul Ivanov pivanov...@gmail.com wrote: Thanks Paul!  Your suggestion got me part of the way, but I've run into another problem...I'm using draggable legends, I'm also wanting to fetch the current position of the legend after a drag.  The draggable legend

Re: [Matplotlib-users] how to get legend size, try #2.

2010-10-30 Thread Daniel Hyams
With Paul's suggestions (greatly appreciated!) I almost have this thing workingthere is still something strange going on in that when I call get_window_extent() on the legend, I always get ones and zeros no matter where it is...but that's for another post on another day. This one, I hope, is

[Matplotlib-users] how to get legend size, try #2.

2010-10-29 Thread Daniel Hyams
I realized after sending that off that I need to provide more contextsorry about that. What I'm trying to do can be boiled down to the following: I'm trying to place a legend precisely, using the top left corner of legend as the sticky point. In other words, if I want to place the legend

Re: [Matplotlib-users] how to get legend size, try #2.

2010-10-29 Thread Paul Ivanov
Daniel Hyams, on 2010-10-29 23:48, wrote: Thanks Paul! Your suggestion got me part of the way, but I've run into another problem...I'm using draggable legends, I'm also wanting to fetch the current position of the legend after a drag. The draggable legend always updates 'loc', and not