From: Christopher B. <Chr...@no...> - 2010-01-29 04:00:21
|
> On Thu, Jan 28, 2010 at 3:48 PM, John Hunter <jd...@gm... > 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 |