Re: [matplotlib-devel] Bug in Draggable Legend

2011-03-03 Thread James Kitchen
Looks like that fixed it. Thanks! Jim From: Benjamin Root To: Jae-Joon Lee Cc: James Kitchen ; matplotlib-devel@lists.sourceforge.net Sent: Thu, March 3, 2011 11:40:32 AM Subject: Re: [matplotlib-devel] Bug in Draggable Legend On Thu, Mar 3, 2011 at 10

Re: [matplotlib-devel] Bug in Draggable Legend

2011-03-03 Thread Benjamin Root
On Thu, Mar 3, 2011 at 10:30 AM, Jae-Joon Lee wrote: > I just committed a change that I believe that fixes this problem. > > > https://github.com/matplotlib/matplotlib/commit/be420a34031c9c50813bc5be5f01a3cfb49639a1 > > Regards, > > -JJ > > Confirmed that it fixes the problem for me on the GTKAgg

Re: [matplotlib-devel] Bug in Draggable Legend

2011-03-03 Thread Jae-Joon Lee
I just committed a change that I believe that fixes this problem. https://github.com/matplotlib/matplotlib/commit/be420a34031c9c50813bc5be5f01a3cfb49639a1 Regards, -JJ On Fri, Mar 4, 2011 at 12:58 AM, James Kitchen wrote: > Hi all, > > I found a small bug in the Draggable Legend feature when

[matplotlib-devel] Bug in Draggable Legend

2011-03-03 Thread James Kitchen
Hi all, I found a small bug in the Draggable Legend feature when you single-click on a legend, but don't drag it. It raises a TypeError. Here's code to reproduce. Try dragging the legend, then single-click the legend. #!/usr/bin/env python import matplotlib as mpl import pylab fig = pylab.f