code: def setTargetRange(self, targetRange, padding=None):
          
          rangeMin, rangeMax = targetRange
          self.histLutItem.setLevels(rangeMin, rangeMax)
docs: Sets the (color) range of the HistogramLUTItem
              The padding variable is ignored.