The interpolation class is complaining, when one specifies a range, which is larger than in the data. This looks like this:
ValueError: A value (3.5137037037037038) in x_new is above the interpolation range's maximum value (3.511282650810815).
This doesn't tell the user, what is going on. Hence, I'd suggest to either reset the user defined values or at least raise a more useful error message by the module pointing out the real issue.
The interpolation class is complaining, when one specifies a range, which is larger than in the data. This looks like this:
ValueError: A value (3.5137037037037038) in x_new is above the interpolation range's maximum value (3.511282650810815).This doesn't tell the user, what is going on. Hence, I'd suggest to either reset the user defined values or at least raise a more useful error message by the module pointing out the real issue.