Skip to content

Commit 53a9605

Browse files
authored
Merge pull request #29200 from meeseeksmachine/auto-backport-of-pr-29182-on-v3.10.x
Backport PR #29182 on branch v3.10.x (Update backend_qt.py: parent not passed to __init__ on subplottool)
2 parents b98c848 + 8e73c6d commit 53a9605

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_qt.py

+1-1
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)