Building Python Data Applications with Blaze and Bokeh Tutorial, SciPy 2015
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
data
images
utils
.gitignore
0. Test notebook.ipynb
1.1 Charts - Timeseries (solution).ipynb
1.1 Charts - Timeseries.ipynb
1.2 Plotting - Timeseries (solution).ipynb
1.2 Plotting - Timeseries.ipynb
1.3 Plotting - Worldmap (solution).ipynb
1.3 Plotting - Worldmap.ipynb
1.4 Plotting - Climate (solution).ipynb
1.4 Plotting - Climate.ipynb
1.5 Glyphs - Legend (solution).ipynb
1.5 Glyphs - Legend.ipynb
1.6 Layout (solution).ipynb
1.6 Layout.ipynb
1.7 Animate (solution).ipynb
1.7 Animate - optional (solutions).ipynb
1.7 Animate - optional 2 (solutions).ipynb
1.7 Animate - optional 2.ipynb
1.7 Animate - optional.ipynb
1.7 Animate.ipynb
1.8 Animate Widgets.ipynb
2. Blaze (solutions).ipynb
2. Blaze.ipynb
Example - Chart.ipynb
LICENSE
README.md
__init__.py
animate.py
animate_widgets.py
check_env.py
environment.yml
full_plot.py
viz.py
viz2.py

README.md

Blaze and Bokeh tutorial, SciPy 2015

Building Python Data Applications with Blaze and Bokeh Tutorial, SciPy 2015

Setup

git clone https://github.com/chdoig/scipy2015-blaze-bokeh.git
cd scipy2015-blaze-bokeh
  • Option A: Anaconda

If you don't have Anaconda installed, you can install it from here. After following the instructions, you should be ready to go. Check it with:

python check_env.py

If you already have Anaconda installed, make sure to update both conda and the dependencies to the latest versions, by running:

conda update conda
conda install bokeh=0.9
conda install blaze=0.8
conda install ipython=3.2
conda install netcdf4
  • Option B: Miniconda or Conda Environments

If you want one the following:

  • a lightweight alternative to Anaconda, you can install Miniconda from here.

or

  • isolate this scipy tutorial dependencies from your default Anaconda by using conda environments.

Follow this commands after cloning this repository:

cd scipy2015-blaze-bokeh
conda env create

If you are running Linux or OS X run:

source activate scipy-tutorial

If you are running Windows, run:

activate scipy-tutorial

Testing

Make sure you have the right environment setup by running the following script:

python check_env.py

Also, try to run the testing notebook (0 - Test Notebook.ipynb):

ipython notebook

and run all the cells.

Data

This tutorial will be using datasets from the following projects:

For your convenience I have uploaded the datasets we are going to use directly to s3. Download the datasets before attending the tutorial from:

Move those datasets to the folder ~/scipy2015-blaze-bokeh/data

Resources