From 3814809edfd3db31b455d0b2af240fa65ff73943 Mon Sep 17 00:00:00 2001 From: Marcelo Schmitt Date: Thu, 23 May 2024 19:09:28 -0300 Subject: [PATCH] examples: ad4020_example: Display spectrum plot for longer The voltage spectrum plot quickly closed with almost no time the user to see it. Keep the plot visible for the user to analyse it. Signed-off-by: Marcelo Schmitt --- examples/ad4020_example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ad4020_example.py b/examples/ad4020_example.py index bb96838f2..bfefafd63 100644 --- a/examples/ad4020_example.py +++ b/examples/ad4020_example.py @@ -82,6 +82,6 @@ plt.xlabel("frequency [Hz]") plt.ylabel("Voltage (mV)") plt.draw() -plt.pause(0.05) +plt.show() del my_adc