Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Matplotlib clear x,y data
Post: Matplotlib clear x,y data

Hi, How do I clear a Matplotlib line chart's data? I have the following lines when a user clicks a button: def on_btn_reset(self): self.ax.clear() self.plotcanvas.draw() def on_btn_start(s...
LoneStar GUI 0 1,473 Sep-14-2020, 05:55 PM
    Thread: How to stop time counter in Tkinter
Post: How to stop time counter in Tkinter

Hi, I have an "animated" timer that displays hour:minute:seconds on a Label. When user clicks the start button, the timer starts incrementing from 1 second on. Now, I have a stop button that when u...
LoneStar GUI 1 4,289 Sep-11-2020, 08:18 PM
    Thread: Tkinter: How to assign calculated value to a Label
Post: RE: Tkinter: How to assign calculated value to a L...

Okay. I got it to work: 1. I removed the "while true" statement in the CycleCO2 function. 2. I replaced the following statement: valCo2 = tk.Label(frame2, text = str(co2) ) with s...
LoneStar GUI 7 3,755 Sep-03-2020, 08:19 PM
    Thread: Tkinter: How to assign calculated value to a Label
Post: RE: Tkinter: How to assign calculated value to a L...

I wanted to check Yoriz' suggestion as having helped me a lot. I wasn't using classes, so that's a step in the right direction. However, there's no button on this site to select the suggestion that ...
LoneStar GUI 7 3,755 Sep-02-2020, 08:47 PM
    Thread: Tkinter: How to assign calculated value to a Label
Post: RE: Tkinter: How to assign calculated value to a L...

Hi y'all, This is my first post to this Forum, so I'm not sure how to respond individually. Also new to Python. I've hooked up a CO2 sensor to the raspberry pi4 monitor. The app is supposed to re...
LoneStar GUI 7 3,755 Sep-01-2020, 08:06 PM
    Thread: Tkinter: How to assign calculated value to a Label
Post: Tkinter: How to assign calculated value to a Label

I'm using Python3.8 for my raspberry pi4 project. I have a GUI that initially displays the label within a grid. I also have a button that when clicked, should display the calculated value of CO2 in ...
LoneStar GUI 7 3,755 Sep-01-2020, 06:33 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020