code: def try_serialize_figures(d):
      return {key: try_figure2html(value) for key, value in d.items()}
  
file_path: sklearn-evaluation/src/sklearn_evaluation/report/serialize.py
imports: from functools import reduce
  import base64
  from six import BytesIO
  import matplotlib
label_desc: Use image node_id 7 for calling a global function with example usage: try_serialize_figures(d) and returns: unknown