Def getData () :
Loop to get the data
Def showData () :
Display data
The window=Tk ()
Bt=Button (Windows, text="start", the command=getData)
Bt. Pack (... )
Canvas=FigureCanvasTkAgg (showData... )
Canvas. Pack (... )
Window. The mainloop ()
Please, I need to start button control getData to get data, then data transmission to showData for display, and with the access to data, getData canvas constantly updated to realize dynamic display, how the data transmission between these two methods? I bow down to the great god answer first here,
CodePudding user response:
CodePudding user response:
Top of theCodePudding user response:
CodePudding user response:
What are you going to do,,,CodePudding user response: