class_docstr: Chart public functions
class_docstr_tok: ["Chart","public","functions"]
docstr: Render the graph, open it in your browser with black magic
docstr_tok: ["Render","the","graph",",","open","it","in","your","browser","with","black","magic"]
code: def render_in_browser(self, **kwargs):
      """Render the graph, open it in your browser with black magic"""
      try:
          from lxml.html import open_in_browser
      except ImportError:
          raise ImportError(
              "You must install lxml to use render in browser"
          )
      kwargs.setdefault("force_uri_protocol", "https")
      open_in_browser(self.render_tree(**kwargs), encoding="utf-8")
  
imports: import base64
  import io
  from pygal._compat import is_list_like
  from pygal.graph.base import BaseGraph
label_desc: Use image node_id 8 for calling the PublicApi obj's underlying member method code with example usage: obj.render_in_browser() without return types