mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 23:00:25 +01:00
fix: end of x_range in Corr.show shortened by 1
This commit is contained in:
parent
f149eea412
commit
f9584e2372
1 changed files with 1 additions and 1 deletions
|
@ -522,7 +522,7 @@ class Corr:
|
||||||
if self.N != 1:
|
if self.N != 1:
|
||||||
raise Exception("Correlator must be projected before plotting")
|
raise Exception("Correlator must be projected before plotting")
|
||||||
if x_range is None:
|
if x_range is None:
|
||||||
x_range = [0, self.T]
|
x_range = [0, self.T - 1]
|
||||||
|
|
||||||
fig = plt.figure()
|
fig = plt.figure()
|
||||||
ax1 = fig.add_subplot(111)
|
ax1 = fig.add_subplot(111)
|
||||||
|
|
Loading…
Add table
Reference in a new issue