1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-05-03 13:24:20 +02:00

fix: extreme.py saved to .yaml works correctly for different scans configurations

This commit is contained in:
wyzula-jan
2023-09-19 12:09:17 +02:00
parent 5f3d55b760
commit cb144c7c2c
+2 -1
View File
@@ -472,7 +472,8 @@ class PlotApp(QWidget):
with open(file_path, "w") as file:
yaml.dump(
{"plot_settings": self.plot_settings, "plot_data": self.plot_data}, file
{"plot_settings": self.plot_settings, "plot_data": self.plot_data_config},
file,
)
print(f"Settings saved to {file_path}")
except Exception as e: