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

Skip to content

Commit a5c0b86

Browse files
authored
Merge pull request #29182 from proximalf/fix-SubplotToolQt-parent
Update backend_qt.py: parent not passed to __init__ on subplottool
2 parents 9022e41 + 84b1411 commit a5c0b86

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)