docstr: specific node attributes should be set correctly
docstr_tok: ["specific","node","attributes","should","be","set","correctly"]
code: def test_node_attributes(self):
      """specific node attributes should be set correctly"""
  
      sm = StructureModel([("a", "b"), ("b", "c")])
      a_graph = plot_structure(sm)
  
      default_color = a_graph.get_node("a")["color"]
      test_color = "white"
  
      assert default_color != test_color
      assert all(
          a_graph.get_node(node)["color"] == default_color
          for node in a_graph.get_nodes()
      )
  
      a_graph = plot_structure(
          sm, node_attributes={"a": {"color": test_color}}
      )
      assert all(
          a_graph.get_node(node)["color"] == default_color
          for node in a_graph.get_nodes()
          if node != "a"
      )
      assert a_graph.get_node("a")["color"] == test_color
  
file_path: causalnex/tests/test_plotting.py
imports: from collections import namedtuple
  from causalnex.plots import EDGE_STYLE, GRAPH_STYLE, plot_structure
  from causalnex.structure import StructureModel
label_desc: Use image node_id 5 for calling the TestToPyvis obj's underlying member method code with example usage: obj.test_node_attributes() without return types