diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2016-02-13 16:43:37 +0100 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@gmail.com> | 2016-02-13 16:43:37 +0100 |
commit | b9ae5a33b0438b0505d9ab1e2277992af3be78df (patch) | |
tree | 8c215b4f01fb00f8db73b189c806e5d0da04a95d /numpy/lib/twodim_base.py | |
parent | 8a3bbdea760329acb58f89e774f4c08acbac7e07 (diff) | |
download | numpy-b9ae5a33b0438b0505d9ab1e2277992af3be78df.tar.gz |
DOC: fix a number of reST formatting issues in docstrings.
Diffstat (limited to 'numpy/lib/twodim_base.py')
-rw-r--r-- | numpy/lib/twodim_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/twodim_base.py b/numpy/lib/twodim_base.py index b2f350bb7..6728ab7ec 100644 --- a/numpy/lib/twodim_base.py +++ b/numpy/lib/twodim_base.py @@ -649,7 +649,7 @@ def histogram2d(x, y, bins=10, range=None, normed=False, weights=None): >>> import matplotlib as mpl >>> import matplotlib.pyplot as plt - Construct a 2D-histogram with variable bin width. First define the bin + Construct a 2-D histogram with variable bin width. First define the bin edges: >>> xedges = [0, 1, 1.5, 3, 5] @@ -676,7 +676,7 @@ def histogram2d(x, y, bins=10, range=None, normed=False, weights=None): >>> ax = fig.add_subplot(131) >>> ax.set_title('imshow: equidistant') >>> im = plt.imshow(H, interpolation='nearest', origin='low', - extent=[xedges[0], xedges[-1], yedges[0], yedges[-1]]) + ... extent=[xedges[0], xedges[-1], yedges[0], yedges[-1]]) pcolormesh can display exact bin edges: |