Bokeh – Jupyter Notebook

Bokeh - Jupyter Notebook

Bokeh – Jupyter Notebook. Displaying the Bokeh figure in Jupyter notebook is very similar to the above. The only change you need to make is to import output_notebook instead of output_file from bokeh. plotting module.

NumFocus sponsored by Bokeh project https://numfocus.org/.

from bokeh.plotting import figure, output_notebook, show

Call to output_notebook() function sets Jupyter notebook’s output cell as the destination for show() function as shown below −

output_notebook()
show(p)

Enter the code in a notebook cell and run it.

Next Topic – Click Here

This Post Has 2 Comments

Leave a Reply