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

Skip to content

Commit 258832a

Browse files
committed
STY: linewrap docstrings
1 parent 472a046 commit 258832a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/matplotlib/backends/backend_qt5agg.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@ def paintEvent(self, event):
3939

4040
painter = QtGui.QPainter(self)
4141
try:
42-
# See documentation of QRect: bottom() and right() are off by 1, so use
43-
# left() + width() and top() + height().
42+
# See documentation of QRect: bottom() and right() are off
43+
# by 1, so use left() + width() and top() + height().
4444
rect = event.rect()
4545
# scale rect dimensions using the screen dpi ratio to get
46-
# correct values for the Figure coordinates (rather than QT5's coords)
46+
# correct values for the Figure coordinates (rather than
47+
# QT5's coords)
4748
width = rect.width() * self._dpi_ratio
4849
height = rect.height() * self._dpi_ratio
4950
left, top = self.mouseEventCoords(rect.topLeft())

0 commit comments

Comments
 (0)