From a4c099f1fa2069f9e838b5dab6644c3c1ce2fb7b Mon Sep 17 00:00:00 2001 From: Tamas Gal <himself@tamasgal.com> Date: Fri, 20 Apr 2018 10:53:05 +0200 Subject: [PATCH] Add monitoring channel to title --- scripts/pmt_rates.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/pmt_rates.py b/scripts/pmt_rates.py index f5d9e7d..0a556d8 100755 --- a/scripts/pmt_rates.py +++ b/scripts/pmt_rates.py @@ -107,8 +107,9 @@ class PMTRates(kp.Module): m[m < 5000] = 5000 fig, ax = plt.subplots(figsize=(10, 8)) ax.imshow(m, origin='lower', interpolation='none') - ax.set_title("Mean PMT Rates for DU-{} (colours from 5kHz to 15kHz)\n" - "(PMTs ordered from top to bottom) - {}" + ax.set_title("Mean PMT Rates (Monitoring Channel) for DU-{} " + "- colours from 5kHz to 15kHz\n" + "PMTs ordered from top to bottom - {}" .format(self.du, datetime.utcnow())) ax.set_xlabel("UTC time [{}s/px]".format(interval)) plt.yticks([i*31 for i in range(18)], -- GitLab