code: def __init__(self, shell, outputs=None):
      self.shell = shell
      if outputs is None:
          outputs = []
      self.outputs = outputs
  
imports: import builtins
  import sys
  import io
  import tokenize
  from traitlets.config.configurable import Configurable
  from traitlets import Instance, Float
  from warnings import warn
label_desc: Use image node_id 1 to create a new CapturingDisplayHook object from inherited base classes: object with example: obj = CapturingDisplayHook(shell, outputs)