summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-08-24 19:19:38 -0500
committerGitHub <noreply@github.com>2017-08-24 19:19:38 -0500
commit67f27be82600e31472927fa30dd71de5320d9a45 (patch)
tree675b2596ccbd7310235827ec8c0ee7e42e4638e1
parent01718a9feb7f949b091e4f95320c1a60116e77a5 (diff)
parent9fdf66066ce5084faa493559576fe6d23bf098f6 (diff)
downloadnumpy-67f27be82600e31472927fa30dd71de5320d9a45.tar.gz
Merge pull request #9601 from MSeifert04/doc_rot90_added_directive
DOC: rot90 wrongly positioned versionadded directive.
-rw-r--r--numpy/lib/function_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index b1ebcad67..93cbd69dd 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -56,8 +56,6 @@ def rot90(m, k=1, axes=(0,1)):
Rotation direction is from the first towards the second axis.
- .. versionadded:: 1.12.0
-
Parameters
----------
m : array_like
@@ -68,6 +66,8 @@ def rot90(m, k=1, axes=(0,1)):
The array is rotated in the plane defined by the axes.
Axes must be different.
+ .. versionadded:: 1.12.0
+
Returns
-------
y : ndarray