https://bestthaifoodrecipeshopppp.blogspot.com/2024/04/python-update-matplotlib-from-threads.html
Python Update Matplotlib From Threads