docs: def plot(self, data, height=1000, render_large_data=False):
      """ Plots a detail view of data.
  
      Args:
        data: a Pandas dataframe.
        height: the height of the output.
      """
  
      import IPython
  
      if not isinstance(data, pd.DataFrame):
        raise ValueError('Expect a DataFrame.')
  
      if (len(data) > 10000 and not render_large_data):
        raise ValueError('Facets dive may not work well with more than 10000 rows. ' +
                         'Reduce data or set "render_large_data" to True.')
  
      jsonstr = data.to_json(orient='records')
      html_id = 'f' + datalab.utils.commands.Html.next_id()
      HTML_TEMPLATE = """
          <link rel="import" href="/nbextensions/gcpdatalab/extern/facets-jupyter.html">
          <facets-dive id="{html_id}" height="{height}"></facets-dive>
          <script>
            var data = {jsonstr};
            document.querySelector("#{html_id}").data = data;
          </script>"""
      html = HTML_TEMPLATE.format(html_id=html_id, jsonstr=jsonstr, height=height)
      return IPython.core.display.HTML(html)