diff options
author | Heath Henley <heath_henley@uri.edu> | 2018-07-27 14:35:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-27 14:35:35 -0400 |
commit | 62adb3f3bd3e6be1bce9debbcb7ebffdd493ed54 (patch) | |
tree | 0eac965ee9d80bebe150183a6f2efeaed51ef3d4 /numpy/lib/function_base.py | |
parent | d5566273395436e03242273b0f81300fd4534070 (diff) | |
download | numpy-62adb3f3bd3e6be1bce9debbcb7ebffdd493ed54.tar.gz |
DOC: Import maplotlib to show contourf in docs.
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r-- | numpy/lib/function_base.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 742b46795..9f8b43c4b 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -3989,6 +3989,7 @@ def meshgrid(*xi, **kwargs): `meshgrid` is very useful to evaluate functions on a grid. + >>> import matplotlib.pyplot as plt >>> x = np.arange(-5, 5, 0.1) >>> y = np.arange(-5, 5, 0.1) >>> xx, yy = np.meshgrid(x, y, sparse=True) |