def h(self, value):
        """Use size property setter so 'height == value'."""
        self._sample_rect.height = value

        new_size = (self.width, self._sample_rect.height)
        self.size = new_size
Use size property setter so 'height == value'.
nodezator/rectsman/spatial.py