class_docstr: Initialize the library and its options.
docstr: Configure Lets-Plot HTML output.
  Depending on the usage, LetsPlot generates different HTML to show plots.
  In most cases LetsPlot will detect type of the environment automatically.
  Auto-detection can be overwritten using this method parameters.
  
  Parameters
  ----------
  isolated_frame : bool
      True - generate HTLM which can be used in iframe or in a standalone HTML document.
      False - pre-load Lets-Plot JS library. Notebook cell output will only consist
      of HTML for the plot rendering. Default: None - auto-detect.
  offline : bool
      True - full Lets-Plot JS bundle will be added to the notebook.
      Use this option if you would like to work with notebook
      without the Internet connection. False - load Lets-Plot JS library from CDN.
      Default (None): 'connected' mode in production environment
      and 'offline' mode in dev environment.
  no_js : bool, default=False
      True - do not generate HTML+JS as an output - just static SVG image.
      Note that without JS interactive maps and tooltips doesn't work!
  show_status : bool, default=False
      Whether to show status of loading of the Lets-Plot JS library.
      Only applicable when the Lets-Plot JS library is preloaded.
  
  Examples
  --------
  .. jupyter-execute::
      :linenos:
      :emphasize-lines: 2
  
      from lets_plot import *
      LetsPlot.setup_html()
      ggplot({'x': [0], 'y': [0]}, aes('x', 'y')) + geom_point()
  
  |
  
  .. jupyter-execute::
      :linenos:
      :emphasize-lines: 2-3
  
      from lets_plot import *
      LetsPlot.setup_html(isolated_frame=False, offline=True, \
                          no_js=True, show_status=True)
      ggplot({'x': [0], 'y': [0]}, aes('x', 'y')) + geom_point()
docstr_tok: ["Configure","Lets-Plot","HTML","output",".","Depending","on","the","usage",",","LetsPlot","generates","different","HTML","to","show","plots",".","In","most","cases","LetsPlot","will","detect","type","of","the","environment","automatically",".","Auto-detection","can","be","overwritten","using","this","method","parameters",".","Parameters","--","--","--","--","--","isolated_frame",":","bool","True","-","generate","HTLM","which","can","be","used","in","iframe","or","in","a","standalone","HTML","document",".","False","-","pre-load","Lets-Plot","JS","library",".","Notebook","cell","output","will","only","consist","of","HTML","for","the","plot","rendering",".","Default",":","None","-","auto-detect",".","offline",":","bool","True","-","full","Lets-Plot","JS","bundle","will","be","added","to","the","notebook",".","Use","this","option","if","you","would","like","to","work","with","notebook","without","the","Internet","connection",".","False","-","load","Lets-Plot","JS","library","from","CDN",".","Default","(","None",")",":","'connected","'","mode","in","production","environment","and","'offline","'","mode","in","dev","environment",".","no_js",":","bool",",","default=False","True","-","do","not","generate","HTML+JS","as","an","output","-","just","static","SVG","image",".","Note","that","without","JS","interactive","maps","and","tooltips","does","n't","work","!","show_status",":","bool",",","default=False","Whether","to","show","status","of","loading","of","the","Lets-Plot","JS","library",".","Only","applicable","when","the","Lets-Plot","JS","library","is","preloaded",".","Examples","--","--","--","--","..","jupyter-execute",":",":",":","linenos",":",":","emphasize-lines",":","2","from","lets_plot","import","*","LetsPlot.setup_html","(",")","ggplot","(","{","'","x","'",":","[","0","]",",","'","y","'",":","[","0","]","}",",","aes","(","'","x","'",",","'","y","'",")",")","+","geom_point","(",")","|","..","jupyter-execute",":",":",":","linenos",":",":","emphasize-lines",":","2-3","from","lets_plot","import","*","LetsPlot.setup_html","(","isolated_frame=False",",","offline=True",",","\\","no_js=True",",","show_status=True",")","ggplot","(","{","'","x","'",":","[","0","]",",","'","y","'",":","[","0","]","}",",","aes","(","'","x","'",",","'","y","'",")",")","+","geom_point","(",")"]
code: def setup_html(
      cls,
      *,
      isolated_frame: bool = None,
      offline: bool = None,
      no_js: bool = None,
      show_status: bool = False,
  ) -> None:
      """
          Configure Lets-Plot HTML output.
          Depending on the usage, LetsPlot generates different HTML to show plots.
          In most cases LetsPlot will detect type of the environment automatically.
          Auto-detection can be overwritten using this method parameters.
  
          Parameters
          ----------
          isolated_frame : bool
              True - generate HTLM which can be used in iframe or in a standalone HTML document.
              False - pre-load Lets-Plot JS library. Notebook cell output will only consist
              of HTML for the plot rendering. Default: None - auto-detect.
          offline : bool
              True - full Lets-Plot JS bundle will be added to the notebook.
              Use this option if you would like to work with notebook
              without the Internet connection. False - load Lets-Plot JS library from CDN.
              Default (None): 'connected' mode in production environment
              and 'offline' mode in dev environment.
          no_js : bool, default=False
              True - do not generate HTML+JS as an output - just static SVG image.
              Note that without JS interactive maps and tooltips doesn't work!
          show_status : bool, default=False
              Whether to show status of loading of the Lets-Plot JS library.
              Only applicable when the Lets-Plot JS library is preloaded.
  
          Examples
          --------
          .. jupyter-execute::
              :linenos:
              :emphasize-lines: 2
  
              from lets_plot import *
              LetsPlot.setup_html()
              ggplot({'x': [0], 'y': [0]}, aes('x', 'y')) + geom_point()
  
          |
  
          .. jupyter-execute::
              :linenos:
              :emphasize-lines: 2-3
  
              from lets_plot import *
              LetsPlot.setup_html(isolated_frame=False, offline=True, \\
                                  no_js=True, show_status=True)
              ggplot({'x': [0], 'y': [0]}, aes('x', 'y')) + geom_point()
  
          """
      if not (
          isinstance(isolated_frame, bool) or isolated_frame is None
      ):
          raise ValueError(
              "'isolated' argument is not boolean: {}".format(
                  type(isolated_frame)
              )
          )
      if not (isinstance(offline, bool) or offline is None):
          raise ValueError(
              "'offline' argument is not boolean: {}".format(
                  type(offline)
              )
          )
      if not (isinstance(no_js, bool) or no_js is None):
          raise ValueError(
              "'no_js' argument is not boolean: {}".format(type(no_js))
          )
      if not isinstance(show_status, bool):
          raise ValueError(
              "'show_status' argument is not boolean: {}".format(
                  type(show_status)
              )
          )
  
      offline = (
          offline if offline is not None else get_global_bool(OFFLINE)
      )
      no_js = no_js if no_js is not None else get_global_bool(NO_JS)
  
      cfg._setup_html_context(
          isolated_frame=isolated_frame,
          offline=offline,
          no_js=no_js,
          show_status=show_status,
      )
  
file_path: lets-plot/python-package/lets_plot/__init__.py
imports: import json
  from pkgutil import extend_path
  from typing import Dict
  from ._version import __version__
  from ._global_settings import _settings, is_production, get_global_bool, PLOT_THEME
  from ._global_settings import NO_JS, OFFLINE
  from .plot import *
  from .export import *
  from .frontend_context import *
  from .settings_utils import *
  from .frontend_context import _configuration
label_desc: Use image node_id 1 for calling the LetsPlot obj's underlying member method code with example usage: obj.setup_html(cls) without return types