Python Forum
Real time graph of the temperatures and storage
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Real time graph of the temperatures and storage
#2
T1 and T2 are floats, not lists. You are trying to append a value to floats, this is why the error raises.
At least, try to replace
T1 = float(string[0])                 #Convert first element to floating number and put in T1
T2 = float(string[1])                   #Convert second element to floating number and put in T2
T1.append(T1)                            
T2.append(T2)
with
T1.append(string[0])                            
T2.append(string[1])
Reply


Messages In This Thread
RE: Real time graph of the temperatures and storage - by scidam - Aug-29-2019, 01:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  uploading files from a ubuntu local directory to Minio storage container dchilambo 0 549 Dec-22-2023, 07:17 AM
Last Post: dchilambo
  Upload Files to Azure Storage Container phillyfa 6 888 Dec-22-2023, 06:11 AM
Last Post: Pedroski55
  first time use plot - I get empty graph korenron 6 2,291 Feb-04-2023, 02:14 PM
Last Post: deanhystad
  Non-blocking real-time plotting slow_rider 5 3,897 Jan-07-2023, 09:47 PM
Last Post: woooee
  Real time database satyanarayana 3 1,746 Feb-16-2022, 01:37 PM
Last Post: buran
  Real time data satyanarayana 3 29,432 Feb-16-2022, 07:46 AM
Last Post: satyanarayana
  Real time Detection and Display Gilush 0 1,833 Feb-05-2022, 08:28 PM
Last Post: Gilush
  Real-Time output of server script on a client script. throwaway34 2 2,129 Oct-03-2021, 09:37 AM
Last Post: ibreeden
  Real Time Audio Processing with Python Sound-Device not working Slartybartfast 2 4,092 Mar-14-2021, 07:20 PM
Last Post: Slartybartfast
Question I can't get my real-time chart with Python (Help!) Bastian_ElProfe 1 2,273 Jan-20-2021, 01:34 PM
Last Post: wostan

Forum Jump:

User Panel Messages

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