BUG: interpolate: add missing import in _monotone