class_docstr: Auxiliary class to decouple display handling logic from other functionality.
class_docstr_tok: ["Auxiliary","class","to","decouple","display","handling","logic","from","other","functionality","."]
docstr: Handle display map instance item.
docstr_tok: ["Handle","display","map","instance","item","."]
code: def handle_display_map(
      cls, item: "check_types.DisplayMap", index: int, **kwargs
  ):
      """Handle display map instance item."""
      level = kwargs.pop("_level", 0)
      content = []
      for name, display_items in item.items():
          content.append(HTML(f'<h5><b>{">"*level}{name}</b></h5>'))
          content.extend(
              cls.handle_display(
                  display_items,
                  include_header=False,
                  include_trailing_link=False,
                  _level=level + 1,
                  **kwargs,
              )
          )
      return content
  
imports: import typing
  from IPython.display import HTML, Image
  from plotly.basedatatypes import BaseFigure
  from deepchecks.core import check_result
  from deepchecks.core.serialization.abc import IPythonFormatter, IPythonSerializer
  from deepchecks.core.serialization.common import flatten
  from deepchecks.core.serialization.dataframe.html import DataFrameSerializer
  from .None import html
label_desc: Use image node_id 9 for calling the DisplayItemsHandler obj's underlying member method code with example usage: obj.handle_display_map(cls, item, index) and returns: content