class_docstr: Draws a learning curve with training & validation metrics
  over time as the network trains.
class_docstr_tok: ["Draws","a","learning","curve","with","training","&","validation","metrics","over","time","as","the","network","trains","."]
code: def update_chart_data(self):
      dataframe = self._data["train"]
      if len(dataframe["elapsed"]):
          _extend(self.x_axis_val1, dataframe["elapsed"])
          _extend(self.y_axis_val1, dataframe[self.metric_name])
      dataframe = self._data["eval"]
      if len(dataframe["elapsed"]):
          _extend(self.x_axis_val2, dataframe["elapsed"])
          _extend(self.y_axis_val2, dataframe[self.metric_name])
      if len(dataframe) > 10:
          self.train1.visible = False
          self.train2.visible = True
  
imports: import time
label_desc: Use image node_id 7 for calling the LiveLearningCurve obj's underlying member method code with example usage: obj.update_chart_data() without return types