Changeset cb4d219 in sasview for src/sas/qtgui/Plotting
- Timestamp:
- Nov 24, 2017 4:13:11 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:
- 8f83719f
- Parents:
- c6fb57c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/Plotter.py
rf1f3e6a rcb4d219 49 49 """ data setter """ 50 50 self._data = value 51 self.xLabel = "%s(%s)"%(value._xaxis, value._xunit) 52 self.yLabel = "%s(%s)"%(value._yaxis, value._yunit) 53 if value.isSesans: 51 if value._xunit: 52 self.xLabel = "%s(%s)"%(value._xaxis, value._xunit) 53 else: 54 self.xLabel = "%s"%(value._xaxis) 55 if value._yunit: 56 self.yLabel = "%s(%s)"%(value._yaxis, value._yunit) 57 else: 58 self.yLabel = "%s"%(value._yaxis) 59 60 if value.scale == 'linear' or value.isSesans: 54 61 self.xscale = 'linear' 55 62 self.yscale = 'linear' … … 83 90 # Try name first 84 91 try: 85 marker = PlotUtilities.SHAPES[marker]92 marker = dict(PlotUtilities.SHAPES)[marker] 86 93 except KeyError: 87 marker =list(PlotUtilities.SHAPES.values())[marker]94 list(PlotUtilities.SHAPES.values())[marker] 88 95 89 96 assert marker is not None
Note: See TracChangeset
for help on using the changeset viewer.