From 48eee135f21956c360ad11092a236d5384e04bbf Mon Sep 17 00:00:00 2001
From: su530201 <olivier.kaufmann@umons.ac.be>
Date: Thu, 31 Aug 2023 16:09:33 +0200
Subject: [PATCH] Adds save_fig option to _plot_readings

---
 dev/test_3_mux_2024.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev/test_3_mux_2024.py b/dev/test_3_mux_2024.py
index c591b04f..061e9596 100644
--- a/dev/test_3_mux_2024.py
+++ b/dev/test_3_mux_2024.py
@@ -58,6 +58,6 @@ if within_ohmpi:
     k.run_measurement([A, B, M, N], injection_duration=1.)
     # k._hw._plot_readings()
     print(f'Resistance: {k._hw.last_rho :.2f} ohm, dev. {k._hw.last_dev:.2f} %, rx bias: {k._hw.rx._bias:.2f} mV')
-    k._hw._plot_readings()
+    k._hw._plot_readings(save_fig=True)
     # plot_exec_log('ohmpi/logs/exec.log')
 change_config('../configs/config_default.py', verbose=False)
-- 
GitLab