OpenHydrology / lmoments3

Estimate linear moments for statistical distribution functions
GNU General Public License v3.0
37 stars 16 forks source link

frechet_r renamed to weibull_min #10

Closed huard closed 3 years ago

huard commented 3 years ago

With SciPy 1.6

from lmoments3 import distr

-> 1373 class FrechetRGen(LmomDistrMixin, scipy.stats._continuous_distns.frechet_r_gen):
   1374     def _lmom_fit(self, lmom_ratios):
   1375         if lmom_ratios[1] <= 0 or lmom_ratios[2] >= 1 or lmom_ratios[2] <= -gum.lmom_ratios(nmom=3)[2]:

AttributeError: module 'scipy.stats._continuous_distns' has no attribute 'frechet_r_gen'