Skip to content

Commit 4fcf262

Browse files
committed
Fix typo
In 607f778, the `bins` variable was accidentally changed to `bings`, which produces a `NameError` when running `bin/hist`. This commit corrects that.
1 parent 607f778 commit 4fcf262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bashplotlib/histogram.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def plot_hist(f, height=20.0, bincount=None, pch="o", colour="white", title="",
8282

8383
bins = list(calc_bins(n, min_val, max_val, bincount))
8484
hist = {}
85-
for i in range(len(bings)):
85+
for i in range(len(bins)):
8686
hist[i] = 0
8787
for number in read_numbers(f):
8888
for i, b in enumerate(bins):

0 commit comments

Comments
 (0)