summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Taylor <juliantaylor108@gmail.com>2014-06-02 21:17:21 +0200
committerJulian Taylor <juliantaylor108@gmail.com>2014-06-02 21:17:21 +0200
commite2645bd1de7bb9f41217ea84965c33d2d999e86f (patch)
tree97e242950728dbe5ceb253f2c067c5cd9f273fb3
parentb1c69df01b673cc086065112da6780d8548a0dfa (diff)
parentb8222cbedb5428d2b9eac73aac90ef2409799384 (diff)
downloadnumpy-e2645bd1de7bb9f41217ea84965c33d2d999e86f.tar.gz
Merge pull request #4769 from juliantaylor/mesh-doc
DOC: add versionadded tags to meshgrid arguments
-rw-r--r--numpy/lib/function_base.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 6bdbce9d7..67e55262e 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -3288,9 +3288,11 @@ def meshgrid(*xi, **kwargs):
indexing : {'xy', 'ij'}, optional
Cartesian ('xy', default) or matrix ('ij') indexing of output.
See Notes for more details.
+ .. versionadded:: 1.7.0
sparse : bool, optional
If True a sparse grid is returned in order to conserve memory.
Default is False.
+ .. versionadded:: 1.7.0
copy : bool, optional
If False, a view into the original arrays are returned in order to
conserve memory. Default is True. Please note that
@@ -3298,6 +3300,7 @@ def meshgrid(*xi, **kwargs):
arrays. Furthermore, more than one element of a broadcast array
may refer to a single memory location. If you need to write to the
arrays, make copies first.
+ .. versionadded:: 1.7.0
Returns
-------