Go to advanced search

by Genex36
Fri Jun 29, 2018 7:21 pm
Forum: Python
Topic: Raspberry-Arduino Tkinter Gui with Matplotlib
Replies: 13
Views: 1881

Re: Raspberry-Arduino Tkinter Gui with Matplotlib

ok!! I found the Solution!!

consulting this: https://stackoverflow.com/questions/175 ... e-mainloop

i've found out that i have to use

Code: Select all

f = matplotlib.figure.Figure()
instead of

Code: Select all

f = plt.figure()
by Genex36
Fri Jun 29, 2018 6:14 pm
Forum: Python
Topic: Raspberry-Arduino Tkinter Gui with Matplotlib
Replies: 13
Views: 1881

Re: Raspberry-Arduino Tkinter Gui with Matplotlib

I'm replying just now because I've been really busy making Prezi presentation and studying, by the way, the Numpad is alive!! it's working very well! thank you for your code the problem is only one! Yes, the numpad works correctly but it uses StringVar... so if I can't fix the string var incompatibi...
by Genex36
Wed Jun 27, 2018 11:38 am
Forum: Python
Topic: Raspberry-Arduino Tkinter Gui with Matplotlib
Replies: 13
Views: 1881

Re: Raspberry-Arduino Tkinter Gui with Matplotlib

the call for animation is the line before mainloop.
well, I can't put the animation after the mainloop... it will be never executed in this way...

I tried to comment the "animation" and the import matplot.animation but I didn't get any result
by Genex36
Wed Jun 27, 2018 8:59 am
Forum: Python
Topic: Raspberry-Arduino Tkinter Gui with Matplotlib
Replies: 13
Views: 1881

Re: Raspberry-Arduino Tkinter Gui with Matplotlib

First of all thank you very much! I'm working on the Numpad class right now @scotty101 And yeah... I know that the shortened version sucks ahah I will check out your suggestions! that works fine but honest not sure why the StringVar will not work. if you change the textvariable to a normal text then...
by Genex36
Tue Jun 26, 2018 1:16 pm
Forum: Python
Topic: Raspberry-Arduino Tkinter Gui with Matplotlib
Replies: 13
Views: 1881

Re: Raspberry-Arduino Tkinter Gui with Matplotlib

there is a shorter version with all the essential! I didn't get rid of matplotlib because I think that there is a problem using StringVar and Plots in the same code! maybe due to the "animation matplotlib function" and the Tkinter mainloop. looks like with matplotlib StringVar are completely not upd...
by Genex36
Tue Jun 26, 2018 3:10 am
Forum: Python
Topic: Raspberry-Arduino Tkinter Gui with Matplotlib
Replies: 13
Views: 1881

Raspberry-Arduino Tkinter Gui with Matplotlib

Hi everyone, first of all, I want to tell you guys that I'm a really beginner programmer. I'm making this project for my high school diploma and I'm open to any suggestion for my code (and even my bad English) The project is made by 3 sensors (1 analogic Oxygen sensor, 1 DHT22 (for temperature and h...
by Genex36
Tue Jun 26, 2018 2:43 am
Forum: Python
Topic: tkinter numpad on entry click
Replies: 20
Views: 7758

Re: tkinter numpad on entry click

ok, I'm checking it out, by the way, I have a problem with string var, for some reason they aren't showing up at all... I've tried in a different code without matplotlib and it's actually working, but when I put it on my script with matplot.. looks like it all messed up, maybe I can make a Post and ...
by Genex36
Sat Jun 23, 2018 1:42 am
Forum: Python
Topic: tkinter numpad on entry click
Replies: 20
Views: 7758

Re: tkinter numpad on entry click

@scotty101 Hey. I checked out your code about the numPad and it is amazing, but i have some problem implenting it in my code, i have a class based tkinter menu. my problems are: 1) i can't implent it with the rest of the program because i can't reach the label inside the class. 2) i wanted to make t...

Go to advanced search