Changeset 8f83719f in sasview for src/sas/qtgui/Plotting
- Timestamp:
- Nov 24, 2017 9:57:08 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:
- f4480f0
- Parents:
- cb4d219
- Location:
- src/sas/qtgui/Plotting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/Plotter.py
rcb4d219 r8f83719f 92 92 marker = dict(PlotUtilities.SHAPES)[marker] 93 93 except KeyError: 94 list(PlotUtilities.SHAPES.values())[marker]94 marker = list(PlotUtilities.SHAPES.values())[marker] 95 95 96 96 assert marker is not None -
src/sas/qtgui/Plotting/PlotterBase.py
rdd150ef r8f83719f 145 145 def xLabel(self, xlabel=""): 146 146 """ x-label setter """ 147 self.x_label = r'$%s$'% xlabel 147 self.x_label = r'$%s$'% xlabel if xlabel else "" 148 148 149 149 @property … … 155 155 def yLabel(self, ylabel=""): 156 156 """ y-label setter """ 157 self.y_label = r'$%s$'% ylabel 157 self.y_label = r'$%s$'% ylabel if ylabel else "" 158 158 159 159 @property
Note: See TracChangeset
for help on using the changeset viewer.