code: def assertGraphEqual(self, g: graphics.Graph, h: graphics.Graph):
      self.assertSequenceEqual(g.x, h.x)
      self.assertSequenceEqual(g.y, h.y)
      if g.xerr and h.xerr:
          self.assertSequenceEqual(g.xerr, h.xerr)
      else:
          self.assertEqual(g.xerr, h.xerr)
      self.assertEqual(g.xlabel, h.xlabel)
      self.assertEqual(g.ylabel, h.ylabel)
      self.assertEqual(g.title, h.title)
      self.assertEqual(g.name, h.name)
      self.assertEqual(g.color, h.color)
  
file_path: model-card-toolkit/model_card_toolkit/utils/tf_graphics_test.py
imports: import logging
  import tensorflow_model_analysis
  from absl.testing import absltest
  from google.protobuf import text_format
  from tensorflow_metadata.proto.v0 import statistics_pb2
  from model_card_toolkit import model_card
  from model_card_toolkit.utils import graphics, tf_graphics
label_desc: Use image node_id 1 for calling the TfGraphicsTest obj's underlying member method code with example usage: obj.assertGraphEqual(g, h) without return types