mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
feat: color and zorder for prange indicator in Corr.show added. (#178)
This commit is contained in:
parent
3198088f9c
commit
b75aa741a9
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue