code: def setUp(self):
      np.random.seed(238924)
  
      self.n_iter1 = list(range(0, 30, 3))
      self.obj1 = [np.random.normal() for _ in range(len(self.n_iter1))]
  
      self.n_iter2 = list(range(2, 40, 2))
      self.obj2 = [np.random.normal() for _ in range(len(self.n_iter2))]
  
      self.solver1 = GD()
      history1 = History()
      history1._set(
          "values", {"n_iter": self.n_iter1, "obj": self.obj1}
      )
      self.solver1._set("history", history1)
  
      self.solver2 = AGD()
      history2 = History()
      history2._set(
          "values", {"n_iter": self.n_iter2, "obj": self.obj2}
      )
      self.solver2._set("history", history2)
  
file_path: tick/tick/plot/tests/plot_history_test.py
imports: import unittest
  import numpy
  from tick.linear_model import LogisticRegression
  from tick.plot import plot_history
  from tick.solver import GD, AGD, History
label_desc: Use image node_id 1 for calling the Test obj's underlying member method code with example usage: obj.setUp() without return types