mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 12:03:42 +02:00
fix: bug in Corr.show comp option fixed.
This commit is contained in:
parent
f9e41f2bfa
commit
cc50ab9ecf
1 changed files with 1 additions and 1 deletions
|
@ -825,7 +825,7 @@ class Corr:
|
||||||
hide_from = np.argmax((hide_sigma * np.array(y_err[1:])) > np.abs(y[1:])) - 1
|
hide_from = np.argmax((hide_sigma * np.array(y_err[1:])) > np.abs(y[1:])) - 1
|
||||||
else:
|
else:
|
||||||
hide_from = None
|
hide_from = None
|
||||||
plt.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=corr.tag, mfc=plt.rcParams['axes.facecolor'])
|
ax1.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=corr.tag, mfc=plt.rcParams['axes.facecolor'])
|
||||||
else:
|
else:
|
||||||
raise Exception("'comp' must be a correlator or a list of correlators.")
|
raise Exception("'comp' must be a correlator or a list of correlators.")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue