Skip to content

Commit

Permalink
Merge pull request #16906 from charris/backport-16883
Browse files Browse the repository at this point in the history
BUG,DOC: Fix bad MPL kwarg.
  • Loading branch information
charris committed Jul 19, 2020
2 parents 5bd4b2f + 92bec1c commit 0561a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/lib/twodim_base.py
Expand Up @@ -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...>
Expand Down

0 comments on commit 0561a89

Please sign in to comment.