Currently, optimizer classes like Minuit2 and ScipyMinimizer implement their own progress bar (through tqdm). It would be cleaner to do that with a Callback class. That also gives the user the option to handle that progress bar better in logging with rich.
Currently, optimizer classes like
Minuit2andScipyMinimizerimplement their own progress bar (throughtqdm). It would be cleaner to do that with aCallbackclass. That also gives the user the option to handle that progress bar better in logging withrich.