Skip to content

JavaScript output is disabled in JupyterLab (bokeh) #64

Description

@ydoJ

Describe the bug

context
When I use 'Live Code' to run a cell that involves bokeh,

expectation
I expected the plot to show like it did a week ago.

bug
But instead I get the following error message: "JavaScript output is disabled in JupyterLab".

This is taken from the documentation after re-running the cells, but I get the same behavior in my book too.
image

problem
This is a problem for people using bokeh in their code cells because the plots are not showing up.

Reproduce the bug

  1. Go to a code cell that uses bokeh. For example, https://jupyterbook.org/en/stable/interactive/interactive.html#bokeh.
  2. Activate 'Live Code' by clicking the rocket symbol at the top of the page.
  3. Run the cells.

List your environment

> jupyter-book --version
Jupyter Book      : 0.14.0
External ToC      : 0.3.1
MyST-Parser       : 0.18.1
MyST-NB           : 0.17.1
Sphinx Book Theme : 0.4.0rc1
Jupyter-Cache     : 0.5.0
NbClient          : 0.5.13

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions