From 2539a6bd878e3a4fdc525c99c6711d67461c1bdd Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Mon, 18 Feb 2019 15:02:21 +0100
Subject: [PATCH] Use integer for DU

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

diff --git a/scripts/ztplot.py b/scripts/ztplot.py
index 9fe769b..d6b26b1 100755
--- a/scripts/ztplot.py
+++ b/scripts/ztplot.py
@@ -127,7 +127,7 @@ class ZTPlot(Module):
                 c='#FF6363',
                 label='triggered hit')
             ax.set_title(
-                'DU{0}'.format(du), fontsize=fontsize, fontweight='bold')
+                'DU{0}'.format(int(du)), fontsize=fontsize, fontweight='bold')
 
         for idx, ax in enumerate(axes):
             ax.tick_params(labelsize=fontsize)
-- 
GitLab