From 19cc625f7941960b34fd78e0ecb338ef29faa7fb Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Fri, 8 Mar 2019 17:23:32 +0100 Subject: [PATCH] Use step --- scripts/online_reco.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/scripts/online_reco.py b/scripts/online_reco.py index 47356fd..dd6ba81 100644 --- a/scripts/online_reco.py +++ b/scripts/online_reco.py @@ -61,8 +61,18 @@ class ZenithDistribution(kp.Module): n_roy = len(roy_zeniths) fig, ax = plt.subplots(figsize=(16, 8)) - ax.hist(self.zeniths, bins=180, label="JGandalf (last %d events)" % n) - ax.hist(roy_zeniths, bins=180, label="ROy (last %d events)" % n_roy) + ax.hist( + self.zeniths, + bins=180, + label="JGandalf (last %d events)" % n, + histtype="step", + lw=3) + ax.hist( + roy_zeniths, + bins=180, + label="ROy (last %d events)" % n_roy, + histtype="step", + lw=3) ax.set_title("Zenith distribution of online track reconstructions") ax.set_xlabel(r"cos(zenith)", fontsize=fontsize) ax.set_ylabel("count", fontsize=fontsize) -- GitLab