def get_map(self):
        """Returns the map array for this instance.

        Returns:
            a numpy array, or ``None``
        """
        if self.map is not None:
            return self.map

        if self.map_path is not None:
            return _read_heatmap(self.map_path)

        return None
Returns the map array for this instance.

        Returns:
            a numpy array, or ``None``
        
fiftyone/core/labels.py