Skip to content

Commit 5f7fd46

Browse files
committed
chore: fix nilearn import
1 parent 73e1c51 commit 5f7fd46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabies/utils/viz.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ def plot_carpet(
211211
legend = False
212212

213213
else: # Volumetric NIfTI
214-
from nilearn._utils import check_niimg_4d
215214
from nilearn._utils.niimg import _safe_get_data
215+
from nilearn._utils.niimg_conversions import check_niimg_4d
216216

217217
img_nii = check_niimg_4d(
218218
img,

0 commit comments

Comments
 (0)