Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit caaf0ae

Browse files
committed
PEP8 fix
1 parent 4bbce4f commit caaf0ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/widgets.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3250,7 +3250,8 @@ def _onmove(self, event):
32503250
width = height = max(event.x - x0, event.y - y0)
32513251
elif self._active_handle == 'SW':
32523252
# Keep x0 + width, y0 + height a fixed point
3253-
new_wh = max(x0 + width - event.x, y0 + height - event.y)
3253+
new_wh = max(x0 + width - event.x,
3254+
y0 + height - event.y)
32543255
x0 += width - new_wh
32553256
y0 += height - new_wh
32563257
width = height = new_wh

0 commit comments

Comments
 (0)