0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 03:31:50 +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

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: