When minimizing a function using iminuit:
m = Minuit(func, alpha=1, beta=1)
m.errordef = 1.0
m = m.migrad()
I can get the final parameter values like so:
final_alpha, final_beta = m.values["alpha"], m.values["beta"]
I would like to plot the path the minimizer takes to reach the minimum.
How can I get the intermediate values of alpha
and beta
?