mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
Corr.show plateau output changed
This commit is contained in:
parent
9722500d3c
commit
f24529eb0a
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ class Corr:
|
|||
|
||||
if plateau:
|
||||
if isinstance(plateau, Obs):
|
||||
ax1.axhline(y=plateau.value, linewidth=2, color=plt.rcParams['text.color'], alpha=0.6, marker=',', ls='--', label='Plateau')
|
||||
ax1.axhline(y=plateau.value, linewidth=2, color=plt.rcParams['text.color'], alpha=0.6, marker=',', ls='--', label=plateau.__repr__()[4:-1])
|
||||
ax1.axhspan(plateau.value - plateau.dvalue, plateau.value + plateau.dvalue, alpha=0.25, color=plt.rcParams['text.color'], ls='-')
|
||||
else:
|
||||
raise Exception('plateau must be an Obs')
|
||||
|
|
Loading…
Add table
Reference in a new issue