Skip to content

Commit 8fbeba2

Browse files
committed
DOC: Use nifti1 to demonstrate ModuleProxy instead of the ephemeral minc
1 parent ceb4049 commit 8fbeba2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nibabel/deprecated.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ class ModuleProxy(object):
2020
2121
::
2222
arr = np.arange(24).reshape((2, 3, 4))
23-
minc = ModuleProxy('nibabel.minc')
24-
minc_image = minc.Minc1Image(arr, np.eye(4))
23+
nifti1 = ModuleProxy('nibabel.nifti1')
24+
nifti1_image = nifti1.Nifti1Image(arr, np.eye(4))
2525
26-
So, the ``minc`` object is a proxy that will import the required module
26+
So, the ``nifti1`` object is a proxy that will import the required module
2727
when you do attribute access and return the attributes of the imported
2828
module.
2929
"""

0 commit comments

Comments
 (0)