class_docstr: Generic class to embed an iframe in an IPython notebook
class_docstr_tok: ["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:
          try:
              from urllib.parse import urlencode  # Py 3
          except ImportError:
              from urllib import urlencode
          params = "?" + urlencode(self.params)
      else:
          params = ""
      return self.iframe.format(
          src=self.src,
          width=self.width,
          height=self.height,
          params=params,
      )
  
imports: from os.path import exists, isfile, splitext, abspath, join, isdir
  from os import walk, sep
  from IPython.core.display import DisplayObject
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