code: def range(self, dim, data_range=True, dimension_range=True):
          
          iskdim = self.get_dimension(dim) not in self.vdims
          return super(StatisticsElement, self).range(dim, iskdim, dimension_range)
docs: Return the lower and upper bounds of values along dimension.
  
          Args:
              dimension: The dimension to compute the range on.
              data_range (bool): Compute range from data values
              dimension_range (bool): Include Dimension ranges
                  Whether to include Dimension range and soft_range
                  in range calculation
  
          Returns:
              Tuple containing the lower and upper bound