From f588707a8df9290206cee3eb1c89aabd528dbc5d Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Thu, 28 Feb 2019 19:07:25 +0400 Subject: [PATCH] Fix title --- scripts/online_reco.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/online_reco.py b/scripts/online_reco.py index 8fe550d..65c7c13 100644 --- a/scripts/online_reco.py +++ b/scripts/online_reco.py @@ -57,8 +57,9 @@ class ZenithDistribution(kp.Module): fig, ax = plt.subplots(figsize=(16, 10)) ax.hist(self.thetas, bins=180) - ax.set_title(r"$\theta$ distribution of JGandalf track reconstructions" - "\nbased on %d of %d reconstructed events" % (n_ok, n)) + ax.set_title( + r"$\theta$ distribution of JGandalf track reconstructions" + "\nbased on %d reconstructed tracks out of %d events" % (n_ok, n)) ax.set_xlabel(r"$\theta$ [deg]") ax.set_ylabel = "count" filename = os.path.join(self.plots_path, 'track_reco.png') -- GitLab