csaps
csaps copied to clipboard
Issue with the smooth parameter.
What the csaps function looks like without smooth parameter:
spline = csaps(x_points, y_points)
plt.plot(x, fit)
plt.scatter(x_points, y_points)
plt.show()
What the csaps function looks like with any non-default smoothing parameter, even if small:
spline = csaps(x_points, y_points, smooth=.05)
plt.plot(x, fit)
plt.scatter(x_points, y_points)
plt.show()