Skip to content

Commit

Permalink
Backport PR matplotlib#29182: Update backend_qt.py: parent not passed…
Browse files Browse the repository at this point in the history
… to __init__ on subplottool
  • Loading branch information
ksunden authored and meeseeksmachine committed Nov 27, 2024
1 parent 93c87c1 commit 8e73c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/matplotlib/backends/backend_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ def set_history_buttons(self):

class SubplotToolQt(QtWidgets.QDialog):
def __init__(self, targetfig, parent):
super().__init__()
super().__init__(parent)
self.setWindowIcon(QtGui.QIcon(
str(cbook._get_data_path("images/matplotlib.png"))))
self.setObjectName("SubplotTool")
Expand Down

0 comments on commit 8e73c6d

Please sign in to comment.