code: def set_guess_to_fit_result(self):
          
          if self.results is None:
              print("No fit results to use! Run fit() first.")
              return
  
          # loop over the results and set the guess values
          for n in range(len(self._pguess)): self._pguess[n] = self.results[0][n]
  
          if self['autoplot']: self.plot()
  
          return self
docs: If you have a fit result, set the guess parameters to the
          fit parameters.