What I am trying to do basically is translate this Matlab line:
slm = slmengine(x,y,'degree',1,'knots',numOfKnots,'plot','off');
to python.
So far I've found make_inter_spline which doesn't let me control how many knots there are, and make_lsq_spline which makes me calculate the knots before hand.