diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2020-07-16 19:35:02 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-16 19:35:02 -0500 |
| commit | bf10f6633b5070f41ccc56a9234fb4d3c00204f1 (patch) | |
| tree | a351dcdfffe9793fb68418f0500c2493f2b9a089 | |
| parent | cd181785e63cf943841adeaf65ac4658a2386bf3 (diff) | |
| parent | 831e580cd7bcb42d9e9d758e45076bd0645c04c7 (diff) | |
| download | numpy-bf10f6633b5070f41ccc56a9234fb4d3c00204f1.tar.gz | |
Merge pull request #16883 from rossbar/bug/bad_mpl_kwarg_hist2d
BUG,DOC: Fix bad MPL kwarg in docs
| -rw-r--r-- | numpy/lib/twodim_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/twodim_base.py b/numpy/lib/twodim_base.py index 2bb4c78a5..cd7484241 100644 --- a/numpy/lib/twodim_base.py +++ b/numpy/lib/twodim_base.py @@ -675,7 +675,7 @@ def histogram2d(x, y, bins=10, range=None, normed=None, weights=None, >>> fig = plt.figure(figsize=(7, 3)) >>> ax = fig.add_subplot(131, title='imshow: square bins') - >>> plt.imshow(H, interpolation='nearest', origin='low', + >>> plt.imshow(H, interpolation='nearest', origin='lower', ... extent=[xedges[0], xedges[-1], yedges[0], yedges[-1]]) <matplotlib.image.AxesImage object at 0x...> |
