summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorTim Hoffmann <2836374+timhoffm@users.noreply.github.com>2021-06-16 10:16:50 +0200
committerGitHub <noreply@github.com>2021-06-16 11:16:50 +0300
commit5265343e268264101ec317594b1b97814d8d5875 (patch)
tree51f2a6ab685328edc78b258e368459d6d5c23682 /numpy
parent75f852edf94a7293e7982ad516bee314d7187c2d (diff)
downloadnumpy-5265343e268264101ec317594b1b97814d8d5875.tar.gz
DOC: Fix formatting in rot90() docstring (#19256)
Diffstat (limited to 'numpy')
-rw-r--r--numpy/lib/function_base.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 783d45c2f..2e9ae6644 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -88,8 +88,11 @@ def rot90(m, k=1, axes=(0, 1)):
Notes
-----
- rot90(m, k=1, axes=(1,0)) is the reverse of rot90(m, k=1, axes=(0,1))
- rot90(m, k=1, axes=(1,0)) is equivalent to rot90(m, k=-1, axes=(0,1))
+ ``rot90(m, k=1, axes=(1,0))`` is the reverse of
+ ``rot90(m, k=1, axes=(0,1))``
+
+ ``rot90(m, k=1, axes=(1,0))`` is equivalent to
+ ``rot90(m, k=-1, axes=(0,1))``
Examples
--------