Skip to content

Commit

Permalink
fix the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
theoheimel committed Apr 5, 2023
1 parent 882d5f4 commit 07c97d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 07c97d6

Please sign in to comment.