summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/function_base.py')
-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 fdbe698d6..b43a1d666 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -4309,12 +4309,12 @@ def meshgrid(*xi, copy=True, sparse=False, indexing='xy'):
'xy' indexing and (M, N, P) for 'ij' indexing. The difference is
illustrated by the following code snippet::
- xv, yv = np.meshgrid(x, y, sparse=False, indexing='ij')
+ xv, yv = np.meshgrid(x, y, indexing='ij')
for i in range(nx):
for j in range(ny):
# treat xv[i,j], yv[i,j]
- xv, yv = np.meshgrid(x, y, sparse=False, indexing='xy')
+ xv, yv = np.meshgrid(x, y, indexing='xy')
for i in range(nx):
for j in range(ny):
# treat xv[j,i], yv[j,i]