From 6148f529bc75085f96f5592b6e1d9c6445540492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20S=C3=A1nchez=20de=20Le=C3=B3n=20Peque?= Date: Thu, 31 May 2018 13:08:16 +0200 Subject: DOC: Fix doctest formatting in `rot90()` examples --- numpy/lib/function_base.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'numpy') 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) -- cgit v1.2.1