Skip to content

Commit 111f020

Browse files
committed
Use density instead of normed
1 parent c3de637 commit 111f020

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)