Skip to content

Commit 0270ad9

Browse files
BF: add name to return, so that link works in html
1 parent 0f0e1f7 commit 0270ad9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nibabel/cifti2/cifti2_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def from_index_mapping(mim):
128128
129129
Returns
130130
-------
131-
subclass of :class:`Axis`
131+
axis : subclass of :class:`Axis`
132132
"""
133133
return_type = {'CIFTI_INDEX_TYPE_SCALARS': ScalarAxis,
134134
'CIFTI_INDEX_TYPE_LABELS': LabelAxis,
@@ -149,7 +149,7 @@ def to_header(axes):
149149
150150
Returns
151151
-------
152-
:class:`.cifti2.Cifti2Header`
152+
header : :class:`.cifti2.Cifti2Header`
153153
"""
154154
axes = tuple(axes)
155155
mims_all = []

0 commit comments

Comments
 (0)