Introduction to interactive visualizations with Bokeh

We'll load the required Bokeh modules and show some simple interactive plots that can be made with Bokeh. Please note that the examples in this book have been designed using version 0.12.10 of Bokeh.

  1. In the chapter-3-workbook.ipynb Jupyter notebook, scroll to Subtopic Introduction to Bokeh.
  2. Like scikit-learn, Bokeh modules are usually loaded in pieces (unlike pandas, for example, where the whole library is loaded at once). Import some basic plotting modules by running the following code:
      from bokeh.plotting       import figure, show, output_notebook output_notebook()

We need to run output_notebook() in order to render the interactive visuals within the Jupyter notebook.

  1. Generate random ...

Get Applied Deep Learning with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.