diff --git a/docs/pyerrors/correlators.html b/docs/pyerrors/correlators.html index 19eb9fd2..12733256 100644 --- a/docs/pyerrors/correlators.html +++ b/docs/pyerrors/correlators.html @@ -972,7 +972,7 @@ 758 759 x, y, y_err = self.plottable() 760 if hide_sigma: - 761 hide_from = np.argmax((hide_sigma * np.array(y_err)) > np.abs(y)) - 1 + 761 hide_from = np.argmax((hide_sigma * np.array(y_err[1:])) > np.abs(y[1:])) - 1 762 else: 763 hide_from = None 764 ax1.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=self.tag) @@ -995,7 +995,7 @@ 781 corr.gamma_method() 782 x, y, y_err = corr.plottable() 783 if hide_sigma: - 784 hide_from = np.argmax((hide_sigma * np.array(y_err)) > np.abs(y)) - 1 + 784 hide_from = np.argmax((hide_sigma * np.array(y_err[1:])) > np.abs(y[1:])) - 1 785 else: 786 hide_from = None 787 plt.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=corr.tag, mfc=plt.rcParams['axes.facecolor']) @@ -2206,7 +2206,7 @@ 759 760 x, y, y_err = self.plottable() 761 if hide_sigma: - 762 hide_from = np.argmax((hide_sigma * np.array(y_err)) > np.abs(y)) - 1 + 762 hide_from = np.argmax((hide_sigma * np.array(y_err[1:])) > np.abs(y[1:])) - 1 763 else: 764 hide_from = None 765 ax1.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=self.tag) @@ -2229,7 +2229,7 @@ 782 corr.gamma_method() 783 x, y, y_err = corr.plottable() 784 if hide_sigma: - 785 hide_from = np.argmax((hide_sigma * np.array(y_err)) > np.abs(y)) - 1 + 785 hide_from = np.argmax((hide_sigma * np.array(y_err[1:])) > np.abs(y[1:])) - 1 786 else: 787 hide_from = None 788 plt.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=corr.tag, mfc=plt.rcParams['axes.facecolor']) @@ -3993,7 +3993,7 @@ apply gamma_method with default parameters to the Corr. Defaults to None 759 760 x, y, y_err = self.plottable() 761 if hide_sigma: -762 hide_from = np.argmax((hide_sigma * np.array(y_err)) > np.abs(y)) - 1 +762 hide_from = np.argmax((hide_sigma * np.array(y_err[1:])) > np.abs(y[1:])) - 1 763 else: 764 hide_from = None 765 ax1.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=self.tag) @@ -4016,7 +4016,7 @@ apply gamma_method with default parameters to the Corr. Defaults to None 782 corr.gamma_method() 783 x, y, y_err = corr.plottable() 784 if hide_sigma: -785 hide_from = np.argmax((hide_sigma * np.array(y_err)) > np.abs(y)) - 1 +785 hide_from = np.argmax((hide_sigma * np.array(y_err[1:])) > np.abs(y[1:])) - 1 786 else: 787 hide_from = None 788 plt.errorbar(x[:hide_from], y[:hide_from], y_err[:hide_from], label=corr.tag, mfc=plt.rcParams['axes.facecolor'])