scipy.interpolate.UnivariateSpline.set_smoothing_factor

UnivariateSpline.set_smoothing_factor(s)
Continue spline computation with the given smoothing factor s and with the knots found at the last call.