code: def enable(mimetype="html", row_limit=10000, embed_options=None):
      """
      Enable the VegaFusion mime renderer so that all Altair charts
      are displayed using VegaFusion.
  
      :param mimetype: Mime type. One of:
          - "html" (default)
          - "vega"
          - "svg"
          - "png": Note, the PNG renderer can be quite slow for charts with lots of marks
      :param row_limit: Maximum number of rows (after transforms are applied) that may be
          included in the Vega specifications that will be displayed. An error will
          be raised if the limit is exceeded. None for unlimited.
      :param embed_options: dict (optional)
          Dictionary of options to pass to the vega-embed. Default
          entry is {'mode': 'vega'}.
      """
      return RendererTransformerEnabler(
          renderer_ctx=alt.renderers.enable(
              "vegafusion-mime",
              mimetype=mimetype,
              row_limit=row_limit,
              embed_options=embed_options,
          ),
          data_transformer_ctx=alt.data_transformers.enable(
              "vegafusion-inline"
          ),
          repr_str=(
              "vegafusion.enable("
              f"mimetype={repr(mimetype)}, row_limit={row_limit}, embed_options={repr(embed_options)}"
              ")"
          ),
      )
  
file_path: vegafusion/python/vegafusion/vegafusion/__init__.py
imports: from .runtime import runtime
  from .transformer import to_feather, get_inline_datasets_for_spec
  from .renderer import RowLimitError
  from .local_tz import set_local_tz, get_local_tz
  from .evaluation import transformed_data
  from .save import save_html, save_vega, save_png, save_svg
  from .None import renderer
  from .compilers import vegalite_compilers
  import altair
  from ._version import __version__
  from .utils import RendererTransformerEnabler
label_desc: Use image node_id 2 for calling a global function with example usage: enable(mimetype, row_limit, embed_options) and returns: RendererTransformerEnabler