Re: [matplotlib-devel] RFC: double click support in matplotlib

2011-10-23 Thread Daniel Hyams
Ben: In current versions of matplotlib, the double click event is always just bound to the same handler as a single press. Such as the following code in backends/backend_wx.py: bind(self,wx.EVT_LEFT_DOWN,self._onLeftButtonDown) bind(self,wx.EVT_LEFT_DCLICK,self._onLeftButtonDown) bind(self

Re: [matplotlib-devel] RFC: double click support in matplotlib

2011-10-23 Thread Benjamin Root
On Sunday, October 23, 2011, Daniel Hyams wrote: > I added double click support in, here in the following issue report: > > https://github.com/matplotlib/matplotlib/issues/550 > > I did use the extra flag in MouseEvent, but I can change this to a > separate event if all think that it is appropriat

Re: [matplotlib-devel] RFC: double click support in matplotlib

2011-10-23 Thread Daniel Hyams
I added double click support in, here in the following issue report: https://github.com/matplotlib/matplotlib/issues/550 I did use the extra flag in MouseEvent, but I can change this to a separate event if all think that it is appropriate; I still favor the flag for backwards compatibility. All

Re: [matplotlib-devel] RFC: double click support in matplotlib

2011-10-22 Thread Benjamin Root
On Saturday, October 22, 2011, Daniel Hyams wrote: > matplotlib doesn't support double clicks, and I was wondering if that > was a design decision, or something that had been relegated to the "to > do" box for someday. Hoping that it was still in the "todo" box, I > think I can put most of it in w

[matplotlib-devel] RFC: double click support in matplotlib

2011-10-22 Thread Daniel Hyams
matplotlib doesn't support double clicks, and I was wondering if that was a design decision, or something that had been relegated to the "to do" box for someday. Hoping that it was still in the "todo" box, I think I can put most of it in without too much trouble, and supply you with a patch. The c