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

Skip to content

Commit ece3c57

Browse files
committed
Rmove unused variable
1 parent 83dd0ea commit ece3c57

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/pylab_examples/histogram_demo_extended.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# Add a line showing the expected distribution.
1313
y = normpdf( bins, mu, sigma)
14-
l = plt.plot(bins, y, 'k--', linewidth=1.5)
14+
plt.plot(bins, y, 'k--', linewidth=1.5)
1515

1616

1717
plt.figure()
@@ -27,7 +27,7 @@
2727
# Add a line showing the expected distribution.
2828
y = normpdf( bins, mu, sigma).cumsum()
2929
y /= y[-1]
30-
l = plt.plot(bins, y, 'k--', linewidth=1.5)
30+
plt.plot(bins, y, 'k--', linewidth=1.5)
3131

3232
# Create a second data-set with a smaller standard deviation.
3333
sigma2 = 15.
@@ -38,7 +38,7 @@
3838
# Add a line showing the expected distribution.
3939
y = normpdf( bins, mu, sigma2).cumsum()
4040
y /= y[-1]
41-
l = plt.plot(bins, y, 'r--', linewidth=1.5)
41+
plt.plot(bins, y, 'r--', linewidth=1.5)
4242

4343
# Overlay a reverted cumulative histogram.
4444
n, bins, patches = plt.hist(x, bins=bins, normed=1,

0 commit comments

Comments
 (0)