parameters: (self, number_of_undos: int)
docstring: Sets the allowed number of 'Undo Fit' events.
docstring_summary: Sets the allowed number of 'Undo Fit' events.
docstring_tokens: Sets the allowed number of Undo Fit events .
function: def set_number_of_undos(self, number_of_undos: int) -> None:
          """Sets the allowed number of 'Undo Fit' events."""
          self.fit_controls.set_number_of_undos(number_of_undos)
function_tokens: def set_number_of_undos ( self , number_of_undos : int ) -> None : self . fit_controls . set_number_of_undos ( number_of_undos )