class_docstr: Generic class to embed an iframe in an IPython notebook
docstr: return the embed iframe
docstr_tok: ["return","the","embed","iframe"]
code: def _repr_html_(self):
      """return the embed iframe"""
      if self.params:
          from urllib.parse import urlencode
  
          params = "?" + urlencode(self.params)
      else:
          params = ""
      return self.iframe.format(
          src=self.src,
          width=self.width,
          height=self.height,
          params=params,
          extras=" ".join(self.extras),
      )
  
imports: from html import escape
  from os.path import exists, isfile, splitext, abspath, join, isdir
  from os import walk, sep, fsdecode
  from IPython.core.display import DisplayObject, TextDisplayObject
  from typing import Tuple, Iterable, Optional
label_desc: Use image node_id 2 for calling the IFrame obj's underlying member method code with example usage: obj._repr_html_() and returns: self