LetsPlot.setup_html() method call:
from lets_plot import * LetsPlot.setup_html(no_js=True)
Alternatively, you can set up the environment variable:
LETS_PLOT_NO_JS = true (other accepted values are: 1, t, y, yes)
In classic Jupyter notebook the
LetsPlot.setup_html() statement by default pre-loads
Lets-Plot JS library from CDN.
offline=True will force
Lets-Plot adding the full Lets-Plot JS bundle to the notebook.
In this case, plots in the notebook will be working without an Internet connection.
from lets_plot import * LetsPlot.setup_html(offline=True)
Note: internet connection is still required for interactive maps and geocoding API.