Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9582f0 commit ff8195eCopy full SHA for ff8195e
lib/matplotlib/widgets.py
@@ -3124,13 +3124,10 @@ def _onmove(self, event):
3124
else:
3125
# change sign of relative changes to simplify calculation
3126
# Switch variables so that x1 and/or y1 are updated on move
3127
- x_factor = y_factor = 1
3128
if 'W' in self._active_handle:
3129
x0 = x1
3130
- x_factor *= -1
3131
if 'S' in self._active_handle:
3132
y0 = y1
3133
- y_factor *= -1
3134
if self._active_handle in ['E', 'W'] + self._corner_order:
3135
x1 = event.xdata
3136
if self._active_handle in ['N', 'S'] + self._corner_order:
0 commit comments