def METHOD_NAME(self, scale):
    old = self._get_state()
    self.scale = scale
    self.longside = None
    new = self._get_state()
    self.pipeline.push(StageAction(self, old, new,
                                   descr="set scale factor"))
    self.pipeline.run_from(self)