Python Forum
How to write a multi-threaded program for plotting interactively?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to write a multi-threaded program for plotting interactively?
#4
(May-12-2019, 08:23 PM)Yoriz Wrote: The time.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.
Reply


Messages In This Thread
RE: How to write a multi-threaded program for plotting interactively? - by rezaee - May-14-2019, 07:11 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020