Changeset d9150d8 in sasview for src/sas/qtgui/Plotting/Plotter2D.py


Ignore:
Timestamp:
Jul 10, 2018 4:03:11 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
4dd5766
Parents:
515c23df
git-author:
Piotr Rozyczko <rozyczko@…> (07/10/18 03:57:36)
git-committer:
Piotr Rozyczko <rozyczko@…> (07/10/18 04:03:11)
Message:

Delete open plots on data removal SASVIEW-958

File:
1 edited

Legend:

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

    re20870bc rd9150d8  
    8585        self.yLabel = "%s(%s)"%(data._yaxis, data._yunit) 
    8686        self.title(title=data.title) 
    87  
    88     @property 
    89     def item(self): 
    90         ''' getter for this plot's QStandardItem ''' 
    91         return self._item 
    92  
    93     @item.setter 
    94     def item(self, item=None): 
    95         ''' setter for this plot's QStandardItem ''' 
    96         self._item = item 
    9787 
    9888    def plot(self, data=None, marker=None, show_colorbar=True): 
Note: See TracChangeset for help on using the changeset viewer.