class_docstr: Update a graph of training and validation loss
class_docstr_tok: ["Update","a","graph","of","training","and","validation","loss"]
code: def after_train(self):
      self.nb_batches.append(self.train_iter)
  
imports: from __future__ import annotations
  from ..basics import *
label_desc: Use image node_id 2 for calling the ShowGraphCallback obj's underlying member method code with example usage: obj.after_train() without return types