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 452ab5c

Browse filesBrowse files
shorten lines for PEP 8
1 parent b31c736 commit 452ab5c
Copy full SHA for 452ab5c

File tree

Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed

‎lib/matplotlib/backends/backend_wx.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_wx.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ def _remove_rubberband(self):
847847
return
848848
self._overlay.Reset()
849849
self._overlay = None
850-
self._refresh_rubberband() # trigger a later redraw over the last rubberband area
850+
self._refresh_rubberband() # trigger a later redraw
851851
self._rubberband = None
852852

853853
def _refresh_rubberband(self, previous_rubberband=None):
@@ -873,7 +873,8 @@ def _refresh_rubberband(self, previous_rubberband=None):
873873
if right < self.figure.bbox.width - 1:
874874
right += 1
875875

876-
rect = wx.Rect(topLeft=wx.Point(left,top), bottomRight=wx.Point(right, bottom))
876+
rect = wx.Rect(topLeft=wx.Point(left,top),
877+
bottomRight=wx.Point(right, bottom))
877878
self.Refresh(False, rect)
878879

879880

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.