From c076b1dd292f252ecad54d535024f4df0df73623 Mon Sep 17 00:00:00 2001 From: Martin Killenberg <martin.killenberg@desy.de> Date: Mon, 21 Aug 2023 10:57:50 +0200 Subject: [PATCH] fix: PostPlot data path --- Python_script/PostPlot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python_script/PostPlot.py b/Python_script/PostPlot.py index f75d13e..40cb084 100644 --- a/Python_script/PostPlot.py +++ b/Python_script/PostPlot.py @@ -114,7 +114,7 @@ class PostPlot: if not os.path.exists(storepath): os.makedirs(storepath) - self.fig.savefig(storepath + '\\' + filename) + self.fig.savefig(os.path.join(storepath, filename)) # scaling time axes depending on the time unit def scaling_time_axes(self, time_sec, time_unit): -- GitLab