Skip to content

Commit 3a4d099

Browse files
KaustbhQuLogic
andauthored
Moved comment inside
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent f7b5689 commit 3a4d099

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/widgets.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4000,9 +4000,8 @@ def onmove(self, event):
40004000
# needs to process the move callback even if there is no button press.
40014001
# _SelectorWidget.onmove include logic to ignore move event if
40024002
# _eventpress is None.
4003-
4004-
# Hide the cursor when interactive zoom/pan is active
40054003
if self.ignore(event):
4004+
# Hide the cursor when interactive zoom/pan is active
40064005
if not self.canvas.widgetlock.available(self) and self._xys:
40074006
self._xys[-1] = (np.nan, np.nan)
40084007
self._draw_polygon()

0 commit comments

Comments
 (0)