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


Ignore:
Timestamp:
Sep 25, 2018 5:37:29 AM (6 years 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/Plotter2D.py

    r676a430 r1f34e00  
    9595            self.data = data 
    9696 
    97         assert self._data 
     97        if not self._data or data is None: 
     98            return 
    9899 
    99100        # Toggle the scale 
Note: See TracChangeset for help on using the changeset viewer.