Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c80897d

Browse files
committed
Change bin edges to make the example clearer.
1 parent 44a577b commit c80897d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/pylab_examples/histogram_demo_histtypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
ax0.plot(bins, y, 'k--', linewidth=1.5)
1818

1919
# Create a histogram by providing the bin edges (unequally spaced).
20-
bins = [100,125,150,160,170,180,190,200,210,220,230,240,250,275,300]
20+
bins = [100,150,180,195,205,220,250,300]
2121
n, bins, patches = ax1.hist(x, bins, normed=1, histtype='bar', rwidth=0.8)
2222

2323
n, bins, patches = ax2.hist(x, 50, normed=1, histtype='step', cumulative=True)

0 commit comments

Comments
 (0)