- Timestamp:
- Sep 13, 2018 9:58:43 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 9d23e4c, 768387e0
- Parents:
- 557fc498
- Location:
- src/sas/qtgui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/MainWindow/DataExplorer.py
r33b3e4d r855e7ad 574 574 new_plots = [] 575 575 for item, plot in plots.items(): 576 if self.updatePlot(plot) or filename not in plot.name: 576 if self.updatePlot(plot): 577 # Don't create plots which are already displayed 577 578 continue 578 579 # Don't plot intermediate results, e.g. P(Q), S(Q) … … 582 583 continue 583 584 # Don't include plots from different fitpages, but always include the original data 584 if fitpage_name in plot.name or filename == plot.name:585 if fitpage_name in plot.name or filename in plot.name or filename == plot.filename: 585 586 # Residuals get their own plot 586 587 if plot.plot_role == Data1D.ROLE_RESIDUAL: -
src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py
r2b8286c r855e7ad 14 14 # pr inversion calculation elements 15 15 from sas.sascalc.pr.invertor import Invertor 16 from sas.qtgui.Plotting.PlotterData import Data1D 16 17 # Batch calculation display 17 18 from sas.qtgui.Utilities.GridPanel import BatchInversionOutputPanel … … 544 545 if self.prPlot is not None: 545 546 title = self.prPlot.name 547 self.prPlot.plot_role = Data1D.ROLE_RESIDUAL 546 548 GuiUtils.updateModelItemWithPlot(self._data, self.prPlot, title) 547 self.communicate.plotRequestedSignal.emit([self.prPlot], None)548 549 if self.dataPlot is not None: 549 550 title = self.dataPlot.name 551 self.dataPlot.plot_role = Data1D.ROLE_DEFAULT 550 552 GuiUtils.updateModelItemWithPlot(self._data, self.dataPlot, title) 551 self.communicate.plotRequestedSignal.emit([self.dataPlot], None) 553 if self.dataPlot is not None or self.prPlot is not None: 554 self.communicate.plotRequestedSignal.emit([self.logic.data], None) 552 555 self.enableButtons() 553 556
Note: See TracChangeset
for help on using the changeset viewer.