code: def figure_to_svg_quoted(fig):
      """Save figure as svg and return it as quoted string."""
      return urllib.parse.quote(
          figure_to_svg_bytes(fig).decode("utf-8")
      )
  
imports: import base64
  import io
  import urllib.parse
label_desc: Use image node_id 3 for calling a global function with example usage: figure_to_svg_quoted(fig) and returns: urllib