Re: [Matplotlib-users] Movable Legend

2009-10-28 Thread Gökhan Sever
This movable legend is a good idea on plots, especially if there are many elements on one figure. However a few notes that I would like to add: 1-) So many lines of code. Makes it hard to read when I share the code with someone else. Would be so much better to have a functionality like:

Re: [Matplotlib-users] Movable Legend

2009-10-27 Thread Andrea Gavana
Hi Jae-Joon, 2009/10/26 Jae-Joon Lee: This is a known bug. While this is fixed in the svn, this did go into the maint. branch. As a workaround, add the following line after line 70.        self.legend.set_axes(self.subplot) Thank you for your help, it works perfectly. Andrea. Imagination

[Matplotlib-users] Movable Legend

2009-10-26 Thread Andrea Gavana
Hi All, a while ago, Che posted a nice example on how to drag a legend with the mouse. I have upgraded to matplotlib 0.99.1 and it looks like the nice example is not working anymore: for the life of me I can't figure out what's wrong. I attach the runnable sample submitted originally. Any

Re: [Matplotlib-users] Movable Legend

2009-10-26 Thread Jae-Joon Lee
This is a known bug. While this is fixed in the svn, this did go into the maint. branch. As a workaround, add the following line after line 70. self.legend.set_axes(self.subplot) Regards, -JJ On Mon, Oct 26, 2009 at 9:44 AM, Andrea Gavana andrea.gav...@gmail.com wrote: Hi All,    a