code: def inspectorDataRange(inspector, percentage):
      
      logger.debug("Discarding {}% from id: {}".format(percentage, id(inspector.slicedArray)))
      return maskedNanPercentile(inspector.slicedArray, (percentage, 100-percentage) )
docs: Calculates the range from the inspectors' sliced array. Discards percentage of the minimum
          and percentage of the maximum values of the inspector.slicedArray
  
          Meant to be used with functools.partial for filling the autorange methods combobox.
          The first parameter is an inspector, it's not an array, because we would then have to
          regenerate the range function every time sliced array of an inspector changes.