Re: [Matplotlib-users] draggable annotation bug and fix

2011-09-16 Thread Jae-Joon Lee
Thanks for reporting this. This is now fixed in the v1.0.x-maint branch and in the master branch. Regards, -JJ On Fri, Sep 16, 2011 at 9:43 AM, Daniel Hyams dhy...@gmail.com wrote: There seems to be a problem with the draggable annotation code when the annotation is just clicked, and not

[Matplotlib-users] draggable annotation bug and fix

2011-09-15 Thread Daniel Hyams
There seems to be a problem with the draggable annotation code when the annotation is just clicked, and not dragged. If you run the following code: import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111) ann = ax.annotate('local max', xy=(2, 1), xytext=(3,