From b75aa741a9b5eed784c82e2015e1b57498425e0c Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Thu, 18 May 2023 18:06:15 +0200 Subject: [PATCH] feat: color and zorder for prange indicator in Corr.show added. (#178) --- pyerrors/correlators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyerrors/correlators.py b/pyerrors/correlators.py index 930120bc..266ed428 100644 --- a/pyerrors/correlators.py +++ b/pyerrors/correlators.py @@ -880,8 +880,8 @@ class Corr: raise Exception("'references' must be a list of floating pint values.") if self.prange: - ax1.axvline(self.prange[0], 0, 1, ls='-', marker=',') - ax1.axvline(self.prange[1], 0, 1, ls='-', marker=',') + ax1.axvline(self.prange[0], 0, 1, ls='-', marker=',', color="black", zorder=0) + ax1.axvline(self.prange[1], 0, 1, ls='-', marker=',', color="black", zorder=0) if fit_res: x_samples = np.arange(x_range[0], x_range[1] + 1, 0.05)