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
Degrades an interpolation method when there are too few points for it.
"akima" with fewer than 5 points is replaced by "cubic".
"cubic" with fewer than 3 points is replaced by "linear".
Any method with fewer than 2 points is replaced by "nearestNeighbor".
The resulting function returns the y value of the single point, or NaN if there are no points.
The rules are applied one after the other, so e.g. "akima" with 2 points results in "linear".