Changeset 31c5b58 in sasview for src/sas/qtgui/Plotter2D.py
- Timestamp:
- Nov 25, 2016 6:56:41 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:
- 3968752
- Parents:
- 14d9c7b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotter2D.py
- Property mode changed from 100755 to 100644
r14d9c7b r31c5b58 16 16 DEFAULT_CMAP = pylab.cm.jet 17 17 18 import PlotUtilities19 import PlotHelper18 import sas.qtgui.PlotUtilities as PlotUtilities 19 import sas.qtgui.PlotHelper as PlotHelper 20 20 21 21 class Plotter2D(QtGui.QDialog): … … 48 48 self._qx_data = [] 49 49 self._qy_data = [] 50 self._color=0 51 self._symbol=0 52 self._scale = 'linear' 50 53 51 54 # default color map … … 59 62 self.parent.communicator.activeGraphsSignal.emit(PlotHelper.currentPlots()) 60 63 64 @property 65 def data(self): 66 return self._data 67 68 @data.setter 61 69 def data(self, data=None): 62 70 """ data setter """ … … 70 78 self._zmin=data.zmin 71 79 self._zmax=data.zmax 72 self._color=073 self._symbol=074 80 self._label=data.name 75 self._scale = 'linear'76 77 81 self.x_label(xlabel=data._xaxis + data._xunit) 78 82 self.y_label(ylabel=data._yaxis + data._yunit)
Note: See TracChangeset
for help on using the changeset viewer.