code: def get_areas(self, labels):
          
  
          idx = self.get_indices(labels)
          return self.areas[idx]
docs: The areas (in pixel**2) of the regions for the input labels.
  
          Parameters
          ----------
          labels : int, 1D array-like (int)
              The label(s) for which to return areas.  Label must be
              non-zero.
  
          Returns
          -------
          areas : `~numpy.ndarray`
              The areas of the labeled regions.