I write GUI programs using python and tkinter.
I have displayed a still line graph within the canvas.
I would like to create a monitor screen where the line graph moves with information from the sensor, but would it be impossible to do it only with canvas instead of matlibplot?
I think it is possible to apply this article.
Live Plot in Python GUI
The script in the answer article seemed to be Python 2.x-based, but as the comment in the answer says, the first import Tkinterastk
was changed to import tkinterastk
and Tkinter
to work with Python 3.x-based.
The input data in the answer seems to be simulated with random numbers.
The verification environment is Windows 10 64-bit Python 3.9.1.
568 Who developed the "avformat-59.dll" that comes with FFmpeg?
610 Uncaught (inpromise) Error on Electron: An object could not be cloned
568 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
573 Understanding How to Configure Google API Key
600 GDB gets version error when attempting to debug with the Presense SDK (IDE)
© 2024 OneMinuteCode. All rights reserved.