Commit a130a23e authored by Sean Fitzgibbon's avatar Sean Fitzgibbon Committed by Paul McCarthy
Browse files

added install instructions to bokeh notebook

parent 4864ddad
......@@ -6,20 +6,32 @@
`bokeh` has excellent documentation: https://docs.bokeh.org/en/latest/index.html
This notebook is not intended to instruct you how to use `bokeh`. Instead it pulls together interesting examples from the `bokeh` documentation into a single notebook to give you a taster of what can be done with `bokeh`.
## Install `bokeh`
`bokeh` is not installed in the `fslpython` environment so you will need to install it to run this notebook. In a terminal run the following command (you will need admin privileges):
```
sudo $FSLDIR/fslpython/bin/conda install -c conda-forge -n fslpython bokeh
```
Setup bokeh to work in this notebook:
%% Cell type:code id: tags:
``` python
from bokeh.plotting import figure, output_file, show
from bokeh.io import output_notebook
output_notebook()
```
%% Cell type:markdown id: tags:
Fetch some sampledata for the examples:
%% Cell type:code id: tags:
``` python
from bokeh import sampledata
sampledata.download()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment