Skip to content

Commit 84aeb5b

Browse files
committed
PEP8
1 parent 37cb5e2 commit 84aeb5b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/backends/backend_qt5agg.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,9 @@ def paintEvent(self, e):
135135
stringBuffer = reg.to_string_argb()
136136
qImage = QtGui.QImage(stringBuffer, w, h,
137137
QtGui.QImage.Format_ARGB32)
138-
# Adjust the stringBuffer reference count to work around a memory
139-
# leak bug in QImage() under PySide on Python 3.x
138+
# Adjust the stringBuffer reference count to work
139+
# around a memory leak bug in QImage() under PySide on
140+
# Python 3.x
140141
if QT_API == 'PySide' and six.PY3:
141142
ctypes.c_long.from_address(id(stringBuffer)).value = 1
142143

0 commit comments

Comments
 (0)