Changeset 9f2f713 in sasview for src


Ignore:
Timestamp:
Sep 14, 2018 4:05:03 AM (6 years ago)
Author:
wojciech
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
cfd61f2
Parents:
4b7d322
Message:

Dmax explorer plot switches between different plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Inversion/DMaxExplorerWidget.py

    re908916 r9f2f713  
    157157            logger.error(msg) 
    158158 
    159         plotter = self.model.item(W.VARIABLE).text() 
    160         y_label = y_unit = "" 
     159        plotter = self.dependentVariable.currentText() 
    161160        x_label = "D_{max}" 
    162161        x_unit = "A" 
     
    192191        data = Data1D(plotable_xs, ys) 
    193192        if self.hasPlot: 
    194             self.plot.removePlot(None) 
     193            self.plot.removePlot(data.name) 
    195194        self.hasPlot = True 
    196195        data.title = plotter 
Note: See TracChangeset for help on using the changeset viewer.