code: def update(self, frame):
      self.line.set_data(self.x_data, self.y_data)
      self.figure.gca().relim()
      self.figure.gca().autoscale_view()
      return (self.line,)
  
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 2 for calling the LiveGraph obj's underlying member method code with example usage: obj.update(frame) and returns: self