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:
plt.legend(movable=True). I might add this into the feature request page, if
one hasn't submitted yet.
2-) When I move the legend out of a canvas area, I can't bring back into the
canvas, nor move it any longer.
3-) The rest of the toolbox items are gone. How to zoom or pan when I have a
moving legend?
Regards,
On Tue, Oct 27, 2009 at 10:21 AM, Andrea Gavana <and...@gm...>wrote:
> 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 Is The Only Weapon In The War Against Reality."
> http://xoomer.alice.it/infinity77/
> http://thedoomedcity.blogspot.com/
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
Gökhan
|