Now I want to run some tests in Jupyter notebook. I’m running notebook from same conda environment where Bokeh is.
When I’m executing cell output_notebook()
I’m seeing a warning:
BokehJS 2.0.0-dev.6 successfully loaded.
Warning: Requesting CDN BokehJS version ‘2.0.0dev6’ from Bokeh development version ‘2.0.0dev6-49-gd0f15d435-dirty’. This configuration is unsupported and may not work!
And when I’m running code, no Bokeh chart is being displayed in notebook.
Is there any step not described in Dev. Guide I’m missing?
Try to rebuild BokehJS. If the warning persists, try to remove bokehjs/build and build it again.
But if you built the latest BokehJS and didn’t change any TypeScript code, then that warning doesn’t really affect you. In this case, you’re not seeing a chart for some other reason - check Python and JavaScript logs.
This will make sure that you always have the most recently built bundles and debugging experience in jlab is the most efficient. Another personal preference is not to use jlab for bokeh development, as it’s usually more trouble than it’s worth.