diff --git a/qt/applications/workbench/workbench/plotting/toolbar.py b/qt/applications/workbench/workbench/plotting/toolbar.py index 53018e5862db88511b1d4bd4b3fbfdcd2f3aaa53..d0b7a5bdd38f2068cd4944f6271beb1f84c22684 100644 --- a/qt/applications/workbench/workbench/plotting/toolbar.py +++ b/qt/applications/workbench/workbench/plotting/toolbar.py @@ -76,7 +76,6 @@ class WorkbenchNavigationToolbar(NavigationToolbar2QT): if tooltip_text is not None: a.setToolTip(tooltip_text) - self.buttons = {} # Add the x,y location widget at the right side of the toolbar # The stretch factor is 1 which means any resizing of the toolbar # will resize this label instead of the buttons. @@ -88,9 +87,6 @@ class WorkbenchNavigationToolbar(NavigationToolbar2QT): labelAction = self.addWidget(self.locLabel) labelAction.setVisible(True) - # reference holder for subplots_adjust window - self.adj_window = None - # Adjust icon size or they are too small in PyQt5 by default dpi_ratio = QtWidgets.QApplication.instance().desktop().physicalDpiX() / 100 self.setIconSize(QtCore.QSize(24 * dpi_ratio, 24 * dpi_ratio))