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.
1 parent 6d85a30 commit 2aacdd0Copy full SHA for 2aacdd0
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