From 25591cc6b85b6700e12e5a3ef03a0f5dae6a21e3 Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Mon, 14 Jan 2019 14:47:23 +0100
Subject: [PATCH] Fix plot height

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

diff --git a/scripts/live_triggermap.py b/scripts/live_triggermap.py
index 35a7e63..888b763 100755
--- a/scripts/live_triggermap.py
+++ b/scripts/live_triggermap.py
@@ -74,7 +74,7 @@ class DOMHits(Module):
 
         event_hits = blob['Hits']
         with lock:
-            hits = np.zeros(self.det.n_doms * self.det.n_dus)
+            hits = np.zeros(self.det.n_doms)
             for dom_id in event_hits.dom_id:
                 du, floor, _ = self.det.doms[dom_id]
                 hits[(du - 1) * self.det.n_doms + floor - 1] += 1
-- 
GitLab