fix: end of x_range in Corr.show shortened by 1

This commit is contained in:
Fabian Joswig 2022-01-06 17:44:41 +01:00
parent f149eea412
commit f9584e2372

View file

@ -522,7 +522,7 @@ class Corr:
if self.N != 1:
raise Exception("Correlator must be projected before plotting")
if x_range is None:
x_range = [0, self.T]
x_range = [0, self.T - 1]
fig = plt.figure()
ax1 = fig.add_subplot(111)