Skip to content

Commit cb037d0

Browse files
authored
Update nibabel/affines.py
1 parent 23f8e69 commit cb037d0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nibabel/affines.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ def apply_affine(aff, pts, inplace=False):
4040
Points, where the last dimension contains the coordinates of each
4141
point. For 3D, the last dimension will be length 3.
4242
inplace : bool, optional
43-
If False, the affine operation is done on a copy of `pts`.
44-
Otherwise, `pts` gets modified directly.
43+
If True, attempt to apply the affine directly to ``pts``.
44+
If False, or in-place application fails, a freshly allocated
45+
array will be returned.
4546
4647
Returns
4748
-------

0 commit comments

Comments
 (0)