summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-09-08 17:54:11 -0700
committerGitHub <noreply@github.com>2017-09-08 17:54:11 -0700
commitf2173183ee34a39c1803f6237e5ab9fe909736c4 (patch)
treef5d636319ab05d85676f37e4024b5c79c5a6bcc7 /numpy/lib
parentc53c89f0d8572086dd13cbe1c3c98a4e73b41d09 (diff)
parent60d1d6d0cd722efaec5272c2591c92872d899f46 (diff)
downloadnumpy-f2173183ee34a39c1803f6237e5ab9fe909736c4.tar.gz
Merge pull request #9649 from MSeifert04/doc_apply_along_axis_doctest
DOC: Fixed doc example of apply along axis with 3D return
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/shape_base.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py
index ea77f40e0..53578e0e4 100644
--- a/numpy/lib/shape_base.py
+++ b/numpy/lib/shape_base.py
@@ -85,11 +85,9 @@ def apply_along_axis(func1d, axis, arr, *args, **kwargs):
array([[[1, 0, 0],
[0, 2, 0],
[0, 0, 3]],
-
[[4, 0, 0],
[0, 5, 0],
[0, 0, 6]],
-
[[7, 0, 0],
[0, 8, 0],
[0, 0, 9]]])