diff options
author | Alexandre Marie <alexandre.marie@synchrotron-soleil.fr> | 2020-01-30 11:46:45 +0100 |
---|---|---|
committer | Alexandre Marie <alexandre.marie@synchrotron-soleil.fr> | 2020-01-30 11:46:45 +0100 |
commit | 33ed2a64c92b0311ae35456c016eb284e426afc2 (patch) | |
tree | dc8276b74bebc11128d67240eb5906c9d35d8a6f /silx/gui/plot/PlotWidget.py | |
parent | 5d647cf9a6159afd2933da594b9c79ad93d3cd9b (diff) |
New upstream version 0.12.0+dfsg
Diffstat (limited to 'silx/gui/plot/PlotWidget.py')
-rwxr-xr-x | silx/gui/plot/PlotWidget.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/silx/gui/plot/PlotWidget.py b/silx/gui/plot/PlotWidget.py index 49e444a..e47249e 100755 --- a/silx/gui/plot/PlotWidget.py +++ b/silx/gui/plot/PlotWidget.py @@ -624,8 +624,7 @@ class PlotWidget(qt.QMainWindow): # Add item to plot self._content[key] = item item._setPlot(self) - if item.isVisible(): - self._itemRequiresUpdate(item) + self._itemRequiresUpdate(item) if isinstance(item, items.DATA_ITEMS): self._invalidateDataRange() # TODO handle this automatically |