From 518412593371dc74574bafdc1cb1b2fc4aecdd2d Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Mon, 12 Dec 2022 11:58:08 +0100 Subject: [PATCH] [FIX] Use `scipy.interpolate` namespace Instead of the `scipy.interpolate.ndgriddata` namespace which is now deprecated. --- brainstat/mesh/interpolate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brainstat/mesh/interpolate.py b/brainstat/mesh/interpolate.py index d1ec3601..e9bc29d1 100644 --- a/brainstat/mesh/interpolate.py +++ b/brainstat/mesh/interpolate.py @@ -13,7 +13,7 @@ from brainspace.mesh.mesh_io import read_surface from brainspace.vtk_interface.wrappers.data_object import BSPolyData from nilearn.datasets import load_mni152_brain_mask -from scipy.interpolate.ndgriddata import LinearNDInterpolator, NearestNDInterpolator +from scipy.interpolate import LinearNDInterpolator, NearestNDInterpolator from scipy.spatial import cKDTree from brainstat._typing import ArrayLike