code: def _basis_spline_factory(coef, degree, knots, der, ext):
          
          return functools.partial(interpolate.splev, tck=(knots, coef, degree), der=der, ext=ext)
docs: Return a B-Spline given some coefficients.