Changeset a54bbf2b in sasview for src/sas/qtgui/Plotting/PlotterData.py
- Timestamp:
- Sep 11, 2018 10:00:45 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:
- 2d47985
- Parents:
- 343d7fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/PlotterData.py
rcee5c78 ra54bbf2b 17 17 """ 18 18 """ 19 ROLE_DATA=0 20 ROLE_DEFAULT=1 21 ROLE_DELETABLE=2 22 ROLE_RESIDUAL=3 19 23 def __init__(self, x=None, y=None, dx=None, dy=None): 20 24 """ … … 35 39 self.title = "" 36 40 self.scale = None 41 # plot_role: 42 # 0: data - no reload on param change 43 # 1: normal lifecycle (fit) 44 # 2: deletable on model change (Q(I), S(I)...) 45 # 3: separate chart on Show Plot (residuals) 46 self.plot_role = Data1D.ROLE_DEFAULT 37 47 38 48 def copy_from_datainfo(self, data1d): … … 184 194 self.title = "" 185 195 self.scale = None 196 # Always default 197 self.plot_role = Data1D.ROLE_DEFAULT 186 198 187 199 def copy_from_datainfo(self, data2d):
Note: See TracChangeset
for help on using the changeset viewer.