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

Skip to content

Commit f3c54a0

Browse files
committed
PEP8 fixes
1 parent 3791654 commit f3c54a0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/matplotlib/backends/backend_qt5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ def save_figure(self, *args):
674674

675675
fname, filter = _getSaveFileName(self.parent,
676676
"Choose a filename to save to",
677-
start, filters, selectedFilter)
677+
start, filters, selectedFilter)
678678
if fname:
679679
if startpath == '':
680680
# explicitly missing key or empty str signals to use cwd

lib/matplotlib/backends/backend_qt5agg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ def __init__(self, figure):
4343
# accordingly. We could watch for screenChanged events from Qt, but
4444
# the issue is that we can't guarantee this will be emitted *before*
4545
# the first paintEvent for the canvas, so instead we keep track of the
46-
# dpi_ratio value here and in paintEvent we resize the canvas if needed.
46+
# dpi_ratio value here and in paintEvent we resize the canvas if
47+
# needed.
4748
self._dpi_ratio_prev = None
4849

4950
def drawRectangle(self, rect):

0 commit comments

Comments
 (0)