

@landmarks.setter
def landmarks(self, value):
    '\n        Landmarks setter.\n\n        Parameters\n        ----------\n        value : :map:`LandmarkManager`\n            The landmarks to set.\n        '
    lm_n_dims = value.n_dims
    if ((lm_n_dims is not None) and (lm_n_dims != self.n_dims)):
        raise ValueError('Trying to set {}D landmarks on a {}D object'.format(value.n_dims, self.n_dims))
    self._landmarks = value.copy()

dataset/ETHPy150Open menpo/menpo/menpo/landmark/base.py Landmarkable.landmarks/original