summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorMiguel Sánchez de León Peque <peque@neosit.es>2018-05-31 13:08:16 +0200
committerMiguel Sánchez de León Peque <peque@neosit.es>2018-06-01 12:46:00 +0200
commit6148f529bc75085f96f5592b6e1d9c6445540492 (patch)
tree3a771be3182843a33eeb9cac9b4de63d1bc9bfe7 /numpy
parent07dee9e1ddd81f8bc2d213c54e4e9920d7e7acf3 (diff)
downloadnumpy-6148f529bc75085f96f5592b6e1d9c6445540492.tar.gz
DOC: Fix doctest formatting in `rot90()` examples
Diffstat (limited to 'numpy')
-rw-r--r--numpy/lib/function_base.py5
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)