code: def write_graph_objs_graph_objs(outdir):
      """
      Write the plotly/graph_objs/graph_objs.py file
  
      This module just imports everything from the plotly.graph_objs package.
      We write it for backward compatibility with legacy imports like:
  
      from plotly.graph_objs import graph_objs
  
      Parameters
      ----------
      outdir : str
          Root outdir in which the graph_objs package should reside
  
      Returns
      -------
      None
      """
      filepath = opath.join(outdir, "graph_objs", "graph_objs.py")
      with open(filepath, "wt") as f:
          f.write(
              """\
  from plotly.graph_objs import *
  """
          )
  
imports: from io import StringIO
  from os import path
  from codegen.utils import write_source_py
label_desc: Use image node_id 4 for calling a global function with example usage: write_graph_objs_graph_objs(outdir) without return types