fix type error
This commit is contained in:
parent
3e5212c36c
commit
89b5b43d1f
@ -129,7 +129,7 @@ x = np.linspace(ds.min-1e-3, ds.max+1e-3, 300)
|
||||
gauss = mlab.normpdf(x, ds.mean, ds.std)
|
||||
|
||||
# χ² test
|
||||
O, B, _ = plt.hist(ds, bins=6, normed=1, facecolor='#506d72')
|
||||
O, B, _ = plt.hist(np.asarray(ds), bins=6, normed=1, facecolor='#506d72')
|
||||
alpha = chi_squared(ds, O, B)
|
||||
print('''
|
||||
# Δs histogram
|
||||
|
Loading…
Reference in New Issue
Block a user