Changeset e4c475b7 in sasview for src/sas/qtgui/Plotting
- Timestamp:
- Mar 5, 2018 3:39:00 AM (7 years ago)
- 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:
- 3b3b40b, fca1f50
- Parents:
- 91ad45c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/LinearFit.py
rd6b8a1d re4c475b7 13 13 from sas.qtgui.Plotting import DataTransform 14 14 from sas.qtgui.Plotting.LineModel import LineModel 15 import sas.qtgui.Utilities.GuiUtils as GuiUtils 15 16 16 17 # Local UI … … 56 57 self.txtRangeMin.setText(str(max_range[0])) 57 58 self.txtRangeMax.setText(str(max_range[1])) 58 self.txtFitRangeMin.setText(str(fit_range[0])) 59 self.txtFitRangeMax.setText(str(fit_range[1])) 59 # Assure nice display of ranges 60 fr_min = GuiUtils.formatNumber(fit_range[0]) 61 fr_max = GuiUtils.formatNumber(fit_range[1]) 62 self.txtFitRangeMin.setText(str(fr_min)) 63 self.txtFitRangeMax.setText(str(fr_max)) 60 64 61 65 # cast xLabel into html … … 113 117 # Set the qmin and qmax in the panel that matches the 114 118 # transformed min and max 115 #value_xmin = X_VAL_DICT[self.xLabel].floatTransform(xmin)116 #value_xmax = X_VAL_DICT[self.xLabel].floatTransform(xmax)117 118 119 value_xmin = self.floatInvTransform(xmin) 119 120 value_xmax = self.floatInvTransform(xmax)
Note: See TracChangeset
for help on using the changeset viewer.