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 callable.
docstr_tok: ["Handle","callable","."]
code: def handle_callable(cls, item, index, **kwargs) -> str:
      """Handle callable."""
      images = super().handle_callable(item, index, **kwargs)
      tags = []
  
      for buffer in images:
          buffer.seek(0)
          tags.append(imagetag(buffer.read()))
          buffer.close()
  
      return "".join(tags)
  
imports: import textwrap
  import typing
  from plotly.basedatatypes import BaseFigure
  from plotly.io import to_html
  from typing_extensions import Literal
  from deepchecks.core import check_result
  from deepchecks.core.resources import requirejs_script
  from deepchecks.core.serialization.abc import ABCDisplayItemsHandler, HtmlSerializer
  from deepchecks.core.serialization.common import aggregate_conditions, form_output_anchor, plotlyjs_script
  from deepchecks.core.serialization.dataframe.html import DataFrameSerializer
  from deepchecks.utils.html import imagetag, linktag
label_desc: Use image node_id 7 for calling the DisplayItemsHandler obj's underlying member method code with example usage: obj.handle_callable(cls, item, index) and returns: str