diff --git a/Python_script/PostPlot.py b/Python_script/PostPlot.py index f75d13ea91b57ed14d5eaa99efab3fb710b85803..40cb08424cd45620acb4354b37a51eff3baab837 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):