my_plot.grid(row=0, column=0) # use grid here
button = Button (root, text="quit", fg='red', command=root.quit)
button.grid(row=1, column=0)
root.mainloop()
From: Pooja Bhalode
Sent: Sunday, February 26, 2017 3:47:37 PM
To: Albert-Jan Roskam
Subje
python.org
Subject: [Tutor] Matplotlib in Tkinter
Hi,
I am trying to create a graph in Tkinter window. And following is a snipet
of the code.
Code:
simroot = Toplevel(root)
simroot.title("Simulation of experiments")
Label(simroot, text = "Displaying concentration profiles with res
On 20/02/17 14:54, Pooja Bhalode wrote:
> Another issue, in this that is happening which is far more important from
> the perspective that I am looking at, is that when I click the button
> twice, two graphs get created one below the other.
>
> I tried adding a delete("all") statement as shown b
Hi,
Another issue, in this that is happening which is far more important from
the perspective that I am looking at, is that when I click the button
twice, two graphs get created one below the other.
I tried adding a delete("all") statement as shown below.
Code:
def Submitplot():
print "Cre
Hi,
I am trying to create a graph in Tkinter window. And following is a snipet
of the code.
Code:
simroot = Toplevel(root)
simroot.title("Simulation of experiments")
Label(simroot, text = "Displaying concentration profiles with respect to
time:").pack(side = TOP)
Label(simroot, text = "Select