From b0241799200641ae571f8692747480483d425087 Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Fri, 4 Oct 2019 11:51:14 +0200 Subject: [PATCH] Show day and month in xlabel --- scripts/ahrs_calibration.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/ahrs_calibration.py b/scripts/ahrs_calibration.py index c2c6ee6..3ff7090 100755 --- a/scripts/ahrs_calibration.py +++ b/scripts/ahrs_calibration.py @@ -108,8 +108,7 @@ class CalibrateAHRS(kp.Module): def create_plot(self): print(self.__class__.__name__ + ": updating plot.") - # xfmt = md.DateFormatter('%Y-%m-%d %H:%M') - xfmt = md.DateFormatter('%H:%M') + xfmt = md.DateFormatter('%Y-%m-%d %H:%M') xlim = (datetime.utcfromtimestamp(time.time() - self.time_range * 60 * 60), datetime.utcnow()) -- GitLab