Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit caaf0ae

Browse filesBrowse files
committed
PEP8 fix
1 parent 4bbce4f commit caaf0ae
Copy full SHA for caaf0ae

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎lib/matplotlib/widgets.py

Copy file name to clipboardExpand all lines: lib/matplotlib/widgets.py
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.