summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorHeath Henley <heath_henley@uri.edu>2018-07-27 00:55:48 -0400
committerGitHub <noreply@github.com>2018-07-27 00:55:48 -0400
commitd5566273395436e03242273b0f81300fd4534070 (patch)
treef46edd81630a5e3f857f320d9c27806bd113957d /numpy
parent0124839917feb4f124d07dbfbf79915f01624a3a (diff)
downloadnumpy-d5566273395436e03242273b0f81300fd4534070.tar.gz
DOC: Show plot in meshgrid example.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/lib/function_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 1a43da8b0..742b46795 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -3994,6 +3994,7 @@ def meshgrid(*xi, **kwargs):
>>> xx, yy = np.meshgrid(x, y, sparse=True)
>>> z = np.sin(xx**2 + yy**2) / (xx**2 + yy**2)
>>> h = plt.contourf(x,y,z)
+ >>> plt.show()
"""
ndim = len(xi)