Skip to content

Commit 3963ed0

Browse files
authored
DOC: fix documentation for apply_along_axis (numpy#15619)
1 parent 473a68a commit 3963ed0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/lib/shape_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ def apply_along_axis(func1d, axis, arr, *args, **kwargs):
269269
"""
270270
Apply a function to 1-D slices along the given axis.
271271
272-
Execute `func1d(a, *args)` where `func1d` operates on 1-D arrays and `a`
273-
is a 1-D slice of `arr` along `axis`.
272+
Execute `func1d(a, *args, **kwargs)` where `func1d` operates on 1-D arrays
273+
and `a` is a 1-D slice of `arr` along `axis`.
274274
275275
This is equivalent to (but faster than) the following use of `ndindex` and
276276
`s_`, which sets each of ``ii``, ``jj``, and ``kk`` to a tuple of indices::

0 commit comments

Comments
 (0)