From 8cdb2202d8801f2948204e8b0c047c5ac0eba683 Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Fri, 8 Mar 2019 17:32:05 +0100
Subject: [PATCH] Change legend location

---
 scripts/online_reco.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/online_reco.py b/scripts/online_reco.py
index 4e91004..db31c8a 100644
--- a/scripts/online_reco.py
+++ b/scripts/online_reco.py
@@ -80,7 +80,7 @@ class ZenithDistribution(kp.Module):
         ax.set_ylabel("count", fontsize=fontsize)
         ax.tick_params(labelsize=fontsize)
         ax.set_yscale("log")
-        plt.legend(fontsize=fontsize)
+        plt.legend(fontsize=fontsize, loc=2)
         filename = os.path.join(self.plots_path, 'track_reco.png')
         plt.savefig(filename, dpi=120, bbox_inches="tight")
         plt.close('all')
-- 
GitLab