code: def figure2html(fig):
      return base64_2_html(figure2base64(fig))
  
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 1 for calling a global function with example usage: figure2html(fig) and returns: base64_2_html