diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-06-03 07:37:01 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-03 07:37:01 -0600 |
commit | 612cac42d4ac0ffe4c5ff9aa83804ce2f98da320 (patch) | |
tree | 5079e05be72bce985e234ed0f4f55a4063687d4d /numpy/lib/function_base.py | |
parent | f5fbc4ebb1df7bfb09a96dd7e1bc778cfb0268e1 (diff) | |
parent | 6148f529bc75085f96f5592b6e1d9c6445540492 (diff) | |
download | numpy-612cac42d4ac0ffe4c5ff9aa83804ce2f98da320.tar.gz |
Merge pull request #11209 from Peque/doctest
DOC: Fix doctest formatting in `rot90()` examples
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r-- | numpy/lib/function_base.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index a6e3e07d3..70aa654dc 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -109,9 +109,8 @@ def rot90(m, k=1, axes=(0,1)): >>> np.rot90(m, 1, (1,2)) array([[[1, 3], [0, 2]], - - [[5, 7], - [4, 6]]]) + [[5, 7], + [4, 6]]]) """ axes = tuple(axes) |