def without_labels(self, labels):
        # Make it easier to use by accepting a single string as well as a list
        if isinstance(labels, str):
            labels = [labels]
        labels_to_keep = list(set(self.labels).difference(labels))
        return self._new_group_with_only_labels(labels_to_keep)
A new landmark group that excludes certain labels
dataset/ETHPy150Open menpo/menpo/menpo/landmark/base.py/LandmarkGroup.without_labels