code: def test_atlas(self):
      for graph in self.GAG:
          deg = (d for n, d in graph.degree())
          assert nx.is_graphical(deg, method="eg")
          assert nx.is_graphical(deg, method="hh")
  
file_path: networkx/networkx/algorithms/tests/test_graphical.py
imports: import pytest
  import networkx
label_desc: Use image node_id 2 for calling the TestAtlas obj's underlying member method code with example usage: obj.test_atlas() without return types