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/items | |
parent | 5d647cf9a6159afd2933da594b9c79ad93d3cd9b (diff) |
New upstream version 0.12.0+dfsg
Diffstat (limited to 'silx/gui/plot/items')
-rw-r--r-- | silx/gui/plot/items/shape.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/silx/gui/plot/items/shape.py b/silx/gui/plot/items/shape.py index e6dc529..8176be1 100644 --- a/silx/gui/plot/items/shape.py +++ b/silx/gui/plot/items/shape.py @@ -197,6 +197,8 @@ class BoundingRect(Item, YAxisMixIn): self._updated(ItemChangedType.DATA) def _getBounds(self): + if self.__bounds is None: + return None plot = self.getPlot() if plot is not None: xPositive = plot.getXAxis()._isLogarithmic() |