Changeset 1f34e00 in sasview for src/sas/qtgui/Plotting/Plotter.py


Ignore:
Timestamp:
Sep 25, 2018 7:37:29 AM (22 months ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
acd0591d
Parents:
4e85147
Message:

Don't show the plot if no data. Removed debug assert.

File:
1 edited

Legend:

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

    r863ebca r1f34e00  
    7575        if isinstance(data, Data1D): 
    7676            self.data = data 
    77         assert(self._data) 
     77        if not self._data or data is None: 
     78            return 
    7879 
    7980        is_fit = (self.data.id=="fit") 
Note: See TracChangeset for help on using the changeset viewer.