An extension for rendering Bokeh content in JupyterLab notebooks
Switch branches/tags
Nothing to show
Clone or download
Latest commit 9b2e2ac Oct 17, 2018

README.md

jupyterlab_bokeh

A JupyterLab extension for rendering Bokeh content

Prerequisites

  • JupyterLab

Installation

To install the latest version:

jupyter labextension install jupyterlab_bokeh

To install a specific version:

jupyter labextension install jupyterlab_bokeh@x.y.x

Development

For a development install (requires npm version 4 or later), do the following in the repository directory:

npm install
jupyter labextension link .

To rebuild the package and the JupyterLab app:

npm run build
jupyter lab build

To incrementally rebuild the extension and JupyterLab after changes you can run

npm run watch

and in another terminal run

jupyter lab --watch

Testing

There is a directory named test_cases which contains a collection of notebooks that cover the various jupyterlab_bokeh functionalities. If you update the extension for new JupyterLab releases, please manually execute each and check that the expected behavior occurs. If you extend the jupyterlab_bokeh, please add a new notebook that covers the new functionality.