code: def save_svg(fn, doc):
      with open(fn, "wb") as f:
          xmlstr = doc.toxml("utf-8")
          f.write(xmlstr)
          logging.info(" File saved: %s" % fn)
  
file_path: sympy/doc/generate_logos.py
imports: from argparse import ArgumentParser
  import xml.dom.minidom
  import os.path
  import logging
  import subprocess
  import sys
  from platform import system
label_desc: Use image node_id 9 for calling a global function with example usage: save_svg(fn, doc) without return types