code: def test_plot_losses():
      """Test basic usage"""
      loss_plotter = PlotLosses(outputs=[CheckOutput()])
      loss_plotter.update(
          {"acc": 0.5, "val_acc": 0.4, "loss": 1.2, "val_loss": 1.1}
      )
      loss_plotter.update(
          {
              "acc": 0.55,
              "loss": 1.1,
          }
      )
      loss_plotter.update(
          {"acc": 0.65, "val_acc": 0.55, "loss": 1.0, "val_loss": 0.9}
      )
      loss_plotter.update(
          {
              "acc": 0.55,
              "loss": 1.1,
          }
      )
      loss_plotter.send()
  
imports: from livelossplot import MainLogger, PlotLosses
  from livelossplot.outputs import BaseOutput
label_desc: Use image node_id 1 for calling a global function with example usage: test_plot_losses() without return types