From fab624543ee688d75a3bd72b7070652efd5d82a4 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 f468230f6..5713cd5ec 100644 --- a/examples/ad4020_example.py +++ b/examples/ad4020_example.py @@ -80,6 +80,6 @@ plt.xlabel("frequency [Hz]") plt.ylabel("Voltage (mV)") plt.draw() -plt.pause(0.05) +plt.show() del my_adc