diff --git a/src/silx/gui/plot/ImageView.py b/src/silx/gui/plot/ImageView.py index a451b2d2c6..43d9693cee 100644 --- a/src/silx/gui/plot/ImageView.py +++ b/src/silx/gui/plot/ImageView.py @@ -604,7 +604,7 @@ def setSideHistogramDisplayed(self, show): def isSideHistogramDisplayed(self): """True if the side histograms are displayed""" - return self._histoHPlot.isVisible() + return self._histoHPlot.isVisibleTo(self) def _updateHistograms(self): """Update histograms content using current active image."""