diff --git a/scripts/ahrs_calibration.py b/scripts/ahrs_calibration.py index 7a0fffdccaf0ab0b6a484ed0d96f581ae74618a7..cbe6b0d5bc10dc9b7c735053a52dfb82b5f231ae 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')