feat: color and zorder for prange indicator in Corr.show added. (#178)

This commit is contained in:
Fabian Joswig 2023-05-18 18:06:15 +02:00 committed by GitHub
parent 3198088f9c
commit b75aa741a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)