From: <md...@us...> - 2008-11-25 19:33:15
|
Revision: 6449 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6449&view=rev Author: mdboom Date: 2008-11-25 19:33:05 +0000 (Tue, 25 Nov 2008) Log Message: ----------- Remove code that was inadvertently merged from branch. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/backend_bases.py Modified: trunk/matplotlib/lib/matplotlib/backend_bases.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backend_bases.py 2008-11-25 18:56:57 UTC (rev 6448) +++ trunk/matplotlib/lib/matplotlib/backend_bases.py 2008-11-25 19:33:05 UTC (rev 6449) @@ -1883,14 +1883,7 @@ for cur_xypress in self._xypress: x, y = event.x, event.y lastx, lasty, a, ind, lim, trans = cur_xypress - # JDH: I don't know why this is here but I expect to be - # able to zoomo on any axis that is shared. This was - # breaking zoom-to-rect on sharex_axis_demo if the zoom - # happened in ax2 or ax3 so i am replacing the continue - # with a pass until this is sorted out - if a._sharex or a._sharey: - #continue - pass + # ignore singular clicks - 5 pixels is a threshold if abs(x-lastx)<5 or abs(y-lasty)<5: self._xypress = None This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |