def centery(self, value):
        """Move rects uniformly so 'centery == value'."""
        self._sample_rect.centery = value

        self.move_ip(0, self._sample_rect.centery - self.centery)
Move rects uniformly so 'centery == value'.
nodezator/rectsman/spatial.py