Change the spline function since the one used is deprecated
Description
plotting the calibration envelope posterior used the function scipy.interpolate.spline
which is deprecated as of SciPy 0.19.
This MR switches to the equivalend scipy.interpolate.InterpolatedUnivariateSpline
and adds a check for older code versions.
I noticed this as the SciPy version in the conda ligo-py36 env.
API Changes and Justification
Backwards Compatible Changes
-
This change introduces no API changes -
This change adds new API calls
Backwards Incompatible Changes
-
This change modifies an existing API -
This change removes an existing API
Review Status
no review needed (apart from the general review of the MR)