You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
hi, when i use the approximate_curve function to fit some 2d points, there are obvious fitting error in first few points,but it looks fitting well in the end To Reproduce
Steps to reproduce the behavior:
then run some code like example degree = 3 curve = fitting.approximate_curve(points, degree)
the result plot like this
the purple points is the original points which i want to fit , the purple line is fitting by scipy LSQUnivariateSpline , the huge difference locate in first few points
then i try revert the points order , the same error still appear in first few points like the plot show bellow
appreciate if any suggestion.
The text was updated successfully, but these errors were encountered:
Describe the bug
hi, when i use the approximate_curve function to fit some 2d points, there are obvious fitting error in first few points,but it looks fitting well in the end
To Reproduce
Steps to reproduce the behavior:
fitting_points.txt
degree = 3 curve = fitting.approximate_curve(points, degree)
the result plot like this
the purple points is the original points which i want to fit , the purple line is fitting by scipy LSQUnivariateSpline , the huge difference locate in first few points
then i try revert the points order , the same error still appear in first few points like the plot show bellow


appreciate if any suggestion.
The text was updated successfully, but these errors were encountered: