Changeset e30646ab in sasview
- Timestamp:
- May 9, 2018 9:06:32 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- d1fa2b8
- Parents:
- acd9c311
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/PlotterBase.py
r42787fb re30646ab 38 38 # Define canvas for the figure to be placed on 39 39 self.canvas = FigureCanvas(self.figure) 40 41 # ... and the toolbar with all the default MPL buttons42 self.toolbar = NavigationToolbar(self.canvas, self)43 40 44 41 # Simple window for data display … … 112 109 if not quickplot: 113 110 # Add the toolbar 111 self.toolbar = NavigationToolbar(self.canvas, self) 114 112 layout.addWidget(self.toolbar) 115 113 # Notify PlotHelper about the new plot … … 297 295 Use the internal MPL method for saving to file 298 296 """ 297 if not hasattr(self, "toolbar"): 298 self.toolbar = NavigationToolbar(self.canvas, self) 299 299 self.toolbar.save_figure() 300 300
Note: See TracChangeset
for help on using the changeset viewer.