cokelaer / fitter

Fit data to many distributions
https://fitter.readthedocs.io/
GNU General Public License v3.0
364 stars 58 forks source link

"Progress = False" not working #84

Closed weOptimize closed 1 year ago

weOptimize commented 1 year ago

in the following code "Progress = False " does not get the desired behavior. I still get the progress bar, which is disturbing because I perform several loops of iteration. I do not know whether I am doign something wrong mcs_results = [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12], [13, 14, 15], [16, 17, 18], [19, 20, 21], [22, 23, 24], [25, 26, 27], [28, 29, 30]] betaparams = [] for i in range(nrcandidates): f = Fitter(mcs_results[0][i], distributions=['beta']) f.fit(progress=False) betaparam = f.fitted_param["beta"] betaparams.append(betaparam)