IPython widget for rendering 3d volumes and glyphs (e.g. scatter and quiver) in the Jupyter notebook. Plots can be exported as standalone html, and render in stereo to show it in virtual reality on your phone with Google Cardboard.
Screencast showing the volume rendering
Volume rendering and glyphs (quiver)
To install use pip:
$ pip install ipyvolume
$ jupyter nbextension enable --py --sys-prefix ipyvolume
To install use pip (as non-admin):
$ pip install ipyvolume --user
$ jupyter nbextension enable --py --user ipyvolume
Or with anaconda/conda:
$ pip install ipywidgets~=6.0.0b5
$ conda install -c conda-forge ipyvolume
For a development installation (requires npm),
$ git clone https://github.com/maartenbreddels/ipyvolume.git
$ cd ipyvolume
$ pip install -e .
$ jupyter nbextension install --py --symlink --sys-prefix ipyvolume
$ jupyter nbextension enable --py --sys-prefix ipyvolume