8000 Update backend_qt.py: parent not passed to __init__ · matplotlib/matplotlib@84b1411 · GitHub
[go: up one dir, main page]

Skip to content

Commit 84b1411

Browse files
authored
Update backend_qt.py: parent not passed to __init__
1 parent 31b1b91 commit 84b1411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_qt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ def set_history_buttons(self):
856856

857857
class SubplotToolQt(QtWidgets.QDialog):
858858
def __init__(self, targetfig, parent):
859-
super().__init__()
859+
super().__init__(parent)
860860
self.setWindowIcon(QtGui.QIcon(
861861
str(cbook._get_data_path("images/matplotlib.png"))))
862862
self.setObjectName("SubplotTool")

0 commit comments

Comments
 (0)
0