From 0b52490dee2d04ba62d7785c51f0033eb97e8e10 Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Thu, 28 Feb 2019 19:06:35 +0400 Subject: [PATCH] Fix title --- scripts/online_reco.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/online_reco.py b/scripts/online_reco.py index 27ea963..8fe550d 100644 --- a/scripts/online_reco.py +++ b/scripts/online_reco.py @@ -57,9 +57,8 @@ 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\n" - r"based on %d of %d reconstructed events" % (n_ok, n)) + ax.set_title(r"$\theta$ distribution of JGandalf track reconstructions" + "\nbased on %d of %d reconstructed 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