Skip to content

Commit 52eb8b8

Browse files
committed
Pass bytes to QApplication()
1 parent fb6fa1d commit 52eb8b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_qt5.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def _create_qApp():
121121
if display is None or not re.search(r':\d', display):
122122
raise RuntimeError('Invalid DISPLAY variable')
123123

124-
qApp = QtWidgets.QApplication(["matplotlib"])
124+
qApp = QtWidgets.QApplication([b"matplotlib"])
125125
qApp.lastWindowClosed.connect(qApp.quit)
126126
else:
127127
qApp = app

0 commit comments

Comments
 (0)