code: def test_scale_free_graph_initial_graph_kwarg(ig):
      with pytest.raises(nx.NetworkXError):
          scale_free_graph(100, initial_graph=ig)
  
file_path: networkx/networkx/generators/tests/test_directed.py
imports: import pytest
  import networkx
  from networkx.classes import Graph, MultiDiGraph
  from networkx.generators.directed import gn_graph, gnc_graph, gnr_graph, random_k_out_graph, random_uniform_k_out_graph, scale_free_graph
label_desc: Use image node_id 3 for calling a global function with example usage: test_scale_free_graph_initial_graph_kwarg(ig) without return types