Skip to content

Commit 7160bb9

Browse files
authored
Merge pull request #90 from kojix2/patch-2
Use density instead of normed
2 parents c3de637 + 111f020 commit 7160bb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/hist.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
fig, ax = *plt.subplots
2222

23-
n, bins, patches = *ax.hist(x, num_bins, normed: 1)
23+
n, bins, patches = *ax.hist(x, num_bins, density: 1)
2424

2525
y = mlab.normpdf(bins, mu, sigma)
2626
ax.plot(bins, y, '--')

0 commit comments

Comments
 (0)