Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c4b200f + 2aacdd0 commit 7d9bf0aCopy full SHA for 7d9bf0a
1 file changed
examples/statistics/histogram_features.py
@@ -35,7 +35,7 @@
35
fig, ax = plt.subplots()
36
37
# the histogram of the data
38
-n, bins, patches = ax.hist(x, num_bins, density=1)
+n, bins, patches = ax.hist(x, num_bins, density=True)
39
40
# add a 'best fit' line
41
y = ((1 / (np.sqrt(2 * np.pi) * sigma)) *
0 commit comments