code: def astviz(
      statement: str,
      frame="current",
      dtype_colors=None,
      dtype_precisions=None,
      dtype_alpha_range=None,
  ) -> graphviz.Source:
      """
      Display the abstract syntax tree (AST) for the indicated Python code
      in statement. Evaluate that code in the context of frame. If the frame
      is not specified, the default is to execute the code within the context of
      the invoking code. Pass in frame=None to avoid evaluation and just display
      the AST.
  
      Returns a QuietGraphvizWrapper that renders as SVG in a notebook but
      you can also call `savefig()` to save the file and in a variety of formats,
      according to the file extension.
      """
      return QuietGraphvizWrapper(
          astviz_dot(
              statement,
              frame,
              dtype_colors,
              dtype_precisions,
              dtype_alpha_range,
          )
      )
  
imports: import sys
  import os
  from pathlib import Path
  import tempfile
  import graphviz
  import graphviz.backend
  import token
  import matplotlib.patches
  import matplotlib.pyplot
  import matplotlib.colors
  from IPython.display import display, SVG
  from IPython import get_ipython
  import numpy
  import tsensor
  import tsensor.ast
  import tsensor.analysis
  import tsensor.parsing
label_desc: Use image node_id 2 for calling a global function with example usage: astviz(statement, frame, dtype_colors, dtype_precisions, dtype_alpha_range) and returns: QuietGraphvizWrapper