Changeset f1d9da7 in sasview for src/sas/qtgui/Plotting
- Timestamp:
- May 15, 2018 3:48:59 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:
- 5a731c63
- Parents:
- bac81f4 (diff), f9214aa (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - 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.