diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2020-07-16 16:55:24 -0700 |
---|---|---|
committer | Ross Barnowski <rossbar@berkeley.edu> | 2020-07-16 16:55:24 -0700 |
commit | 831e580cd7bcb42d9e9d758e45076bd0645c04c7 (patch) | |
tree | 31f8b423c2d3d3add42fd90c7341e143ab0eb35b /numpy/lib/twodim_base.py | |
parent | 046a7365778ed121df1e16e7f415fa947a8ef6b7 (diff) | |
download | numpy-831e580cd7bcb42d9e9d758e45076bd0645c04c7.tar.gz |
BUG,DOC: Fix bad MPL kwarg.
Invalide kwarg to imshow causes failures in the plot directive
for docs builds using MPL > v3.3
Diffstat (limited to 'numpy/lib/twodim_base.py')
-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...> |