code: def test_plot_errors_no_batch(self):
      x_train, x_test, y_train, y_test = simple_classification()
  
      optimizer = algorithms.Adadelta(self.network, batch_size=None)
      optimizer.train(x_train, y_train, x_test, y_test, epochs=10)
      optimizer.plot_errors(show=False)
  
      return plt.gcf()
  
file_path: neupy/tests/algorithms/test_plots.py
imports: import warnings
  import mock
  import pytest
  import matplotlib.pyplot
  from neupy import algorithms, layers
  from neupy.algorithms.plots import load_pandas_module
  from helpers import simple_classification
  from base import BaseTestCase
label_desc: Use image node_id 4 for calling the PlotsTestCase obj's underlying member method code with example usage: obj.test_plot_errors_no_batch() and returns: plt