code: def _clearContents(self):
          
          logger.debug("Clearing inspector contents")
          self.titleLabel.setText('')
  
          # Don't clear the imagePlotItem, the imageItem is only added in the constructor.
          self.imageItem.clear()
          self.imagePlotItem.setLabel('left', '')
          self.imagePlotItem.setLabel('bottom', '')
  
          # Set the histogram range and levels to finite values to prevent futher errors if this
          # function was called after an exception in self.drawContents
          self.histLutItem.setHistogramRange(0, 100)
          self.histLutItem.setLevels(0, 100)
  
          self.crossPlotRow, self.crossPlotCol = None, None
  
          self.probeLabel.setText('')
          self.crossLineHorizontal.setVisible(False)
          self.crossLineVertical.setVisible(False)
          self.crossLineHorShadow.setVisible(False)
          self.crossLineVerShadow.setVisible(False)
  
          self.horCrossPlotItem.clear()
          self.verCrossPlotItem.clear()
docs: Clears the contents when no valid data is available