diff --git a/docs/requirements.txt b/docs/requirements.txt index f6e4e53..baa9f31 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ -Sphinx==4.2.0 +Sphinx>=5.0.2 sphinxcontrib-applehelp==1.0.2 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.0 diff --git a/endaq/calc/integrate.py b/endaq/calc/integrate.py index c2fcd36..30daf39 100644 --- a/endaq/calc/integrate.py +++ b/endaq/calc/integrate.py @@ -19,7 +19,7 @@ def _integrate( dt = utils.sample_spacing(df) result = df.apply( - functools.partial(scipy.integrate.cumtrapz, dx=dt, initial=0), + functools.partial(scipy.integrate.cumulative_trapezoid, dx=dt, initial=0), axis=0, raw=True, )