From f24529eb0a2f434fa9e4a37b0cd664ffcd2a3ea9 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Thu, 30 Sep 2021 17:10:53 +0100 Subject: [PATCH] Corr.show plateau output changed --- pyerrors/correlators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyerrors/correlators.py b/pyerrors/correlators.py index 13d5868e..60efdb9b 100644 --- a/pyerrors/correlators.py +++ b/pyerrors/correlators.py @@ -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')