Offline mode with Bokeh back end?

In plain old Bokeh we can do the following to operate in offline mode.

from bokeh.plotting import output_notebook, show
from bokeh.resources import INLINE

output_notebook(resources=INLINE)

We can then build a plot and then use show() to display it inline in a notebook in offline mode. I’m transitioning from working at home (with internet) to working in my office (only intranet, no internet) and when I attempt to display Holoviews plots nothing seems to happen; my browser console is showing failures retrieving resources from unpkg.com and I’m getting Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing.

Is it possible to configure Holoviews to use bokeh in offline mode?

**EDIT: I see that hv.extension() accepts an inline parameter which is True by default. Is this the same as setting bokeh resources to inline like I did above?

I just confirmed the same behaviour at home with my network adaptor disabled. With wifi turned on my plots render perfectly; with wifi turned off I get the same unpkg.com and Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing as when on our intranet.

It looks like this has been handled for saving plots.

image

So I’m guessing it’s possible plots in live notebooks too and I just haven’t found it…