Changeset 31c5b58 in sasview for src/sas/qtgui/Plotter.py


Ignore:
Timestamp:
Nov 25, 2016 8:56:41 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:
3968752
Parents:
14d9c7b
Message:

Refactored to allow running with run.py.
Minor fixes to plotting.

File:
1 edited

Legend:

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

    • Property mode changed from 100755 to 100644
    r39551a68 r31c5b58  
    1111import matplotlib.pyplot as plt 
    1212 
    13 import PlotHelper 
     13import sas.qtgui.PlotHelper as PlotHelper 
    1414 
    1515class Plotter(QtGui.QDialog): 
     
    5151        self.parent.communicator.activeGraphsSignal.emit(PlotHelper.currentPlots()) 
    5252 
    53     def data(self, data=None): 
     53    @property 
     54    def data(self): 
     55        """ data getter """ 
     56        return self._data 
     57 
     58    @data.setter 
     59    def data(self, value): 
    5460        """ data setter """ 
    55         self._data = data 
     61        self._data = value 
    5662 
    5763    def title(self, title=""): 
Note: See TracChangeset for help on using the changeset viewer.