On Thu, Mar 26, 2009 at 12:19 AM, Jae-Joon Lee <lee.j.j...@gmail.com> wrote:
> Sorry, It's hard to track down what's wrong without actually running the code.

I really appreciate your patience.

> Change
>
>  self.legend._loc = loc_in_norm_axes
>
> to
>
>  self.legend._loc = tuple(loc_in_norm_axes)
>
> and see if it works.
>

That did it!  Thank you.

> You need to call canvas.draw. However, it will draw whole figure
> again. If you're concerned about speed, you may consider to use blit
> method.

> http://matplotlib.sourceforge.net/examples/animation/animation_blit_wx.html

I'll look into it.  For the time being, this is already a very good improvement.

Thanks so much for the help.  For the archives, the working runnable
sample (if you have wxPython) is attached.

Che

Attachment: draggable_legend2.py
Description: Binary data

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to