code: def _generate_svg(
      plot_spec: Dict, use_css_pixelated_image_rendering: bool = True
  ) -> str:
      plot_spec = _standardize_plot_spec(plot_spec)
      return lets_plot_kotlin_bridge.export_svg(
          plot_spec, use_css_pixelated_image_rendering
      )
  
file_path: lets-plot/python-package/lets_plot/_kbridge.py
imports: from typing import Dict
  import lets_plot_kotlin_bridge
  from ._type_utils import standardize_dict
  from ._global_settings import get_js_cdn_url
label_desc: Use image node_id 2 for calling a global function with example usage: _generate_svg(plot_spec, use_css_pixelated_image_rendering) and returns: lets_plot_kotlin_bridge