summaryrefslogtreecommitdiff
path: root/silx/gui/plot/PlotWidget.py
diff options
context:
space:
mode:
authorAlexandre Marie <alexandre.marie@synchrotron-soleil.fr>2020-01-30 11:47:01 +0100
committerAlexandre Marie <alexandre.marie@synchrotron-soleil.fr>2020-01-30 11:47:01 +0100
commit867a81e9d35da6d95a11deaf0deb679e58abed66 (patch)
tree5ad6620b7e0f75c12144508e4252825f0b3a7fc3 /silx/gui/plot/PlotWidget.py
parent4b9a78d3afad181b195ccfe5bf7f6b7c8fb6aa50 (diff)
parent33ed2a64c92b0311ae35456c016eb284e426afc2 (diff)
Update upstream source from tag 'upstream/0.12.0+dfsg'
Update to upstream version '0.12.0+dfsg' with Debian dir 3ea2a979401866ff2d55ac0090bf496c85038fcb
Diffstat (limited to 'silx/gui/plot/PlotWidget.py')
-rwxr-xr-xsilx/gui/plot/PlotWidget.py3
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