code: def unserialize_plot(obj, return_instance=False):
      if is_str(obj):
          obj = json.loads(obj)
  
      class_name = obj.pop("class", None)
      obj.pop("version", None)
  
      mod, _, attribute = class_name.rpartition(".")
      class_ = getattr(importlib.import_module(mod), attribute)
      instance = class_._from_data(**obj)
  
      return instance if return_instance else _to_html(instance)
  
imports: from collections.abc import Mapping
  from uuid import uuid4
  import sqlite3
  import json
  import importlib
  import pandas
  from jinja2 import Template
  from sklearn_evaluation.table import Table
  from sklearn_evaluation.report.serialize import try_serialize_figures, figure2html
  from sklearn_evaluation.telemetry import SKLearnEvaluationLogger
  from sklearn_evaluation.nb.NotebookCollection import add_compare_tab, tabs_html_from_content, HTMLMapping
  from sklearn_evaluation import plot
label_desc: Use image node_id 5 for calling a global function with example usage: unserialize_plot(obj, return_instance) and returns: unknown