Skip to content

Commit

Permalink
Merge pull request #1935 from NelleV/1836_latex_docs_fail
Browse files Browse the repository at this point in the history
1836 latex docs fail
  • Loading branch information
mdboom committed Apr 23, 2013
2 parents 7bb8f65 + cf39150 commit a4c1f8a
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions lib/matplotlib/axes.py
Expand Up @@ -8078,13 +8078,8 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
normed : boolean, optional, default: False
If `True`, the first element of the return tuple will
be the counts normalized to form a probability density, i.e.,
``n/(len(x)`dbin)``. In a probability density, the integral of
the histogram should be 1; you can verify that with a
trapezoidal integration of the probability density function::
pdf, bins, patches = ax.hist(...)
print np.sum(pdf ` np.diff(bins))
``n/(len(x)`dbin)``, ie the integral of the histogram will sum to
1.
weights : array_like, shape (n, ), optional, default: None
An array of weights, of the same shape as `x`. Each value in `x`
Expand Down Expand Up @@ -8147,11 +8142,7 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
label : string, optional, default: ''
String, or sequence of strings to match multiple datasets. Bar
charts yield multiple patches per dataset, but only the first gets
the label, so that the legend command will work as expected::
ax.hist(10+2*np.random.randn(1000), label='men')
ax.hist(12+3*np.random.randn(1000), label='women', alpha=0.5)
ax.legend()
the label, so that the legend command will work as expected.
stacked : boolean, optional, default : False
If `True`, multiple data are stacked on top of each other If
Expand Down

0 comments on commit a4c1f8a

Please sign in to comment.