code: def __init__(self):
      self.x_data, self.y_data = [], []
      self.figure = plt.figure()
      (self.line,) = plt.plot(self.x_data, self.y_data)
      self.animation = FuncAnimation(
          self.figure, self.update, interval=1000
      )
      self.th = Thread(
          target=self.thread_f, name="LiveGraph", daemon=True
      )
      self.th.start()
  
file_path: tensorwatch/test/deps/live_graph.py
imports: from matplotlib import pyplot
  from matplotlib.animation import FuncAnimation
  from random import randrange
  from threading import Thread
  import time
label_desc: Use image node_id 1 to create a new LiveGraph object  with example: obj = LiveGraph()