Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displaying plot in notebook quickly after output_notebook raises JS error #8713

philippjfr opened this Issue Mar 5, 2019 · 1 comment


None yet
3 participants
Copy link

commented Mar 5, 2019

Since #8682 was merged displaying a plot in a notebook environment raises a JS error if it is run before output_notebook has had time to initialize Bokeh properly. A simple way to reproduce this is by simply putting output_notebook and show in the same cell in a clean notebook and running it:

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


p = figure()[1, 2, 3], [1, 2, 3])


Javascript error adding output!
TypeError: Cannot read property 'set_log_level' of undefined
See your browser Javascript console for more details.

@philippjfr philippjfr added this to the 1.1 milestone Mar 5, 2019


This comment has been minimized.

Copy link

commented Mar 5, 2019

I think this is specific to INLINE resources. I tested PR #8682 with server resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.