docstr: default graph attributes should be set correctly
docstr_tok: ["default","graph","attributes","should","be","set","correctly"]
code: def test_default_graph_attributes(self):
      """default graph attributes should be set correctly"""
  
      sm = StructureModel([("a", "b")])
  
      a_graph = plot_structure(sm)
      assert not a_graph.widget
      assert a_graph.bgcolor == bgcolor
      assert a_graph.cdn_resources == cdn_resources
  
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 7 for calling the TestToPyvis obj's underlying member method code with example usage: obj.test_default_graph_attributes() without return types