00 Setup

This first step to the tutorial will make sure your system is set up to do all the remaining sections, with all software installed and all data downloaded as needed. The index covered background you might want before you start.

Getting set up

Please consult pyviz.org for the full instructions on installing the software used in these tutorials. Here is the condensed version of these instructions for UNIX-based systems (Linux or Mac OS X), assuming you have already downloaded and installed Anaconda or Miniconda:

! conda install -c pyviz pyviz
! pyviz --install-examples pyviz-tutorial
! pyviz --download-sample-data pyviz-tutorial/data
! cd pyviz-tutorial
! jupyter notebook

See the full instructions at pyviz.org if you are on Windows or don't yet have conda.

Note: If you have previously installed the examples and want to save any of your own changes, rename your pyviz-tutorial directory before re-running the --install-examples command.

Once everything is installed, the following cell should print '1.11.0a4' or later:

In [1]:
import holoviews as hv

And you should see the HoloViews, Bokeh, and Matplotlib logos after running the following cell:

In [2]:
hv.extension('bokeh', 'matplotlib')