Changeset 9f2f713 in sasview


Ignore:
Timestamp:
Sep 14, 2018 4:05:03 AM (4 days ago)
Author:
wojciech
Branches:
ESS_GUI_Pr_fixes
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.