diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-04-04 10:41:56 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 10:41:56 -0600 |
commit | 6574fcfa417cb2996be319a9208a9e9fa1e29d7c (patch) | |
tree | cad8d118eef60d24d8b11778fdb86b994ec3be3f /numpy/lib/function_base.py | |
parent | e2cb4e1995b1602e19877571c5444fb1de270a89 (diff) | |
parent | 3d5caa2b8cb51851f218283cd2435b00ecce5d16 (diff) | |
download | numpy-6574fcfa417cb2996be319a9208a9e9fa1e29d7c.tar.gz |
Merge pull request #10849 from berend/fix-np-flip-docs
DOC: fix examples in docstring for np.flip
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r-- | numpy/lib/function_base.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 9ccbfafa2..8440be52e 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -184,21 +184,18 @@ def flip(m, axis): >>> A array([[[0, 1], [2, 3]], - [[4, 5], [6, 7]]]) >>> flip(A, 0) array([[[4, 5], [6, 7]], - [[0, 1], [2, 3]]]) >>> flip(A, 1) array([[[2, 3], [0, 1]], - [[6, 7], [4, 5]]]) |