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 84aeb5b

Browse filesBrowse files
committed
PEP8
1 parent 37cb5e2 commit 84aeb5b
Copy full SHA for 84aeb5b

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_qt5agg.py

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