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

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