Changeset 2e3e959 in sasview for src/sas/qtgui/LinearFit.py


Ignore:
Timestamp:
Jan 13, 2017 4:28:30 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_Docs, 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:
239214f
Parents:
db5cd8d
Message:

Code review issues addressed.
More unit tests for plotting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/LinearFit.py

    r87cc73a r2e3e959  
    7070        self.transform = transform 
    7171 
     72        self.setFixedSize(self.minimumSizeHint()) 
     73 
    7274        # connect Fit button 
    7375        self.cmdFit.clicked.connect(self.fit) 
     
    7981        assert(isinstance(label, basestring)) 
    8082        self.lblRange.setText(label) 
    81  
    82     def a(self): 
    83         return (float(self.txtA.text()), float(self.txtAerr.text())) 
    84  
    85     def b(self): 
    86         return (float(self.txtB.text()), float(self.txtBerr.text())) 
    87  
    88     def chi(self): 
    89         return float(self.txtChi2.text()) 
    9083 
    9184    def range(self): 
Note: See TracChangeset for help on using the changeset viewer.