From 07c97d6b46a2c4ec16f6bbac955e134f9098ab98 Mon Sep 17 00:00:00 2001 From: Theo Heimel Date: Wed, 5 Apr 2023 13:25:54 +0200 Subject: [PATCH] fix the fix --- src/plots.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plots.py b/src/plots.py index 4158959..399472c 100644 --- a/src/plots.py +++ b/src/plots.py @@ -210,7 +210,7 @@ def plot_weight_hist(self, file: str): ) self.plot_single_weight_hist( pdf, - bins=np.logspace(np.log10(self.p_low-self.eps), np.log10(self.p_high+self.eps), 50), + bins=np.logspace(np.log10(self.p_low)-1e-5, np.log10(self.p_high)+1e-5, 50), xscale="symlog", yscale="log", secax=False, @@ -414,7 +414,6 @@ def plot_single_observable(self, pdf: PdfPages, observable: Observable): np.quantile(rw_hists, 0.841, axis=1) ), axis=0) else: - print(observable.fake_data.shape, self.weights_fake.shape) rw_mean = np.histogram( observable.fake_data, bins=bins,