From 93f8b1b796e82d3ae7dc0af39b5264f5b3bcefcc Mon Sep 17 00:00:00 2001
From: Tamas Gal <tgal@km3net.de>
Date: Tue, 15 Jan 2019 16:11:12 +0100
Subject: [PATCH] Fix plots path

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

diff --git a/scripts/ahrs_calibration.py b/scripts/ahrs_calibration.py
index 7a0fffd..cbe6b0d 100755
--- a/scripts/ahrs_calibration.py
+++ b/scripts/ahrs_calibration.py
@@ -116,7 +116,7 @@ class CalibrateAHRS(kp.Module):
                 bbox_to_anchor=(1.005, 1), loc=2, borderaxespad=0.)
             fig.tight_layout()
             plt.savefig(
-                self.plots_path + ahrs_param + '_calib.png',
+                os.path.join(self.plots_path, ahrs_param + '_calib.png',
                 bbox_extra_artists=(lgd, ),
                 bbox_inches='tight')
             plt.close('all')
-- 
GitLab