Changeset 8f83719f in sasview for src/sas/qtgui/Plotting


Ignore:
Timestamp:
Nov 24, 2017 9:57:08 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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
Message:

More inversion work on details in validation, UI design and such

Location:
src/sas/qtgui/Plotting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotting/Plotter.py

    rcb4d219 r8f83719f  
    9292                marker = dict(PlotUtilities.SHAPES)[marker] 
    9393            except KeyError: 
    94                 list(PlotUtilities.SHAPES.values())[marker] 
     94                marker = list(PlotUtilities.SHAPES.values())[marker] 
    9595 
    9696        assert marker is not None 
  • src/sas/qtgui/Plotting/PlotterBase.py

    rdd150ef r8f83719f  
    145145    def xLabel(self, xlabel=""): 
    146146        """ x-label setter """ 
    147         self.x_label = r'$%s$'% xlabel 
     147        self.x_label = r'$%s$'% xlabel if xlabel else "" 
    148148 
    149149    @property 
     
    155155    def yLabel(self, ylabel=""): 
    156156        """ y-label setter """ 
    157         self.y_label = r'$%s$'% ylabel 
     157        self.y_label = r'$%s$'% ylabel if ylabel else "" 
    158158 
    159159    @property 
Note: See TracChangeset for help on using the changeset viewer.