code: def test_not_on_batch(self):
      llp = LiveLossPlot(False, 10, False, False)
      llp.batch_plt = MagicMock()
      llp.plt = MagicMock()
      state = {torchbearer.BATCH: 1, torchbearer.METRICS: {"test": 1}}
      llp.on_step_training(state)
      llp.on_step_training(state)
  
      self.assertTrue(llp.batch_plt.update.call_count == 0)
  
file_path: torchbearer/tests/callbacks/test_live_loss_plot.py
imports: from unittest import TestCase
  from mock import patch, MagicMock
  import torchbearer
  from torchbearer.callbacks import LiveLossPlot
label_desc: Use image node_id 4 for calling the TestLiveLossPlot obj's underlying member method code with example usage: obj.test_not_on_batch() without return types