code: def _get_bokeh_html(self, chart_obj):
          
          global bokeh_renderer
          try:
              renderer = bokeh_renderer
              p = renderer.get_plot(chart_obj).state
              script, div = components(p)
              return script + "\n" + div
  
          except Exception as e:
              self.err(e, self._get_bokeh_html,
                       "Can not get html from the Bokeh rendering engine")
docs: Get the html for a Bokeh chart