> On Thu, Jan 28, 2010 at 3:48 PM, John Hunter <jdh2...@gmail.com 
>     Cool -- nice example.  I added the code to legend.py.  Now you can do
> 
>     leg = ax.legend()
>     leg.draggable()
> 
>     to enable draggable mode.  You can repeatedly call this func to toggle
>     the draggable state.

Might I suggest that that be made:

leg.draggable(True)
leg.draggable(False)

or

leg.draggable('on')
leg.draggable('off')

or even a property:

leg.draggable = True

or some such. I'd be nice not to have to keep track of the current state.

-Chris




-- 
Christopher Barker, Ph.D.
Oceanographer

NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to