Lucas Meier Lucas Meier - 1 year ago 72
Python Question

interactive: How to select the defined Frame in?

I have a problem using n

Here is the plan:

I am just a beginner. But I just think the easist way to do it might be,

Hope you understand my poor English and my beginners question. Here is the code.
Thank you all.

import matplotlib


Answer Source

If you wont to show it in frame_0, i don't know why you are setting the master=root. Simply change:

dataPlot = FigureCanvasTkAgg(f, master=root)


dataPlot = FigureCanvasTkAgg(f, master=Frame_0)

Also you don't need that root.mainloop() at the end of the function.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download