class_docstr: Wraps a method so that the results is serialized after it is run
class_docstr_tok: ["Wraps","a","method","so","that","the","results","is","serialized","after","it","is","run"]
code: def __init__(self, attr):
      self.attr = attr
  
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 to create a new HTMLSerializableCallable object  with example: obj = HTMLSerializableCallable(attr)