We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 947f468 + 23aef2f commit 14aa02bCopy full SHA for 14aa02b
lib/matplotlib/backends/backend_qt.py
@@ -140,7 +140,7 @@ def _create_qApp():
140
image = str(cbook._get_data_path('images/matplotlib.svg'))
141
icon = QtGui.QIcon(image)
142
app.setWindowIcon(icon)
143
- app.lastWindowClosed.connect(app.quit)
+ app.setQuitOnLastWindowClosed(True)
144
cbook._setup_new_guiapp()
145
if qt_version == 5:
146
app.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps)
0 commit comments