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

Skip to content

Commit 759544a

Browse files
committed
Fixed app creation in qt5 backend (see #15100)
1 parent acfe724 commit 759544a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_qt5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def _create_qApp():
123123
QtCore.Qt.AA_EnableHighDpiScaling)
124124
except AttributeError: # Attribute only exists for Qt>=5.6.
125125
pass
126-
qApp = QtWidgets.QApplication([b"matplotlib"])
126+
qApp = QtWidgets.QApplication(["matplotlib"])
127127
qApp.lastWindowClosed.connect(qApp.quit)
128128
else:
129129
qApp = app

0 commit comments

Comments
 (0)