May-14-2019, 07:11 AM
(May-12-2019, 08:23 PM)Yoriz Wrote: Thetime.sleep(1)
is probably blocking the update of the plots.
i don't know what your using for a GUI but you could see either of the following to get an idea
https://python-forum.io/Thread-WxPython-...ng-the-gui
https://python-forum.io/Thread-Tkinter-H...ng-the-gui
I use usual matplotlib. What I am trying to do is just plot the result that I get from the post request in every second like many websites that show online prices of stocks, etc.