-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: use nbsphix+sphinx-gallery (#299)
- Loading branch information
1 parent
fad27f9
commit b627a5e
Showing
21 changed files
with
9,087 additions
and
13,899 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
Examples | ||
======== | ||
.. ipywidgets-setup:: | ||
.. nbgallery:: | ||
:caption: Examples of using ipyvolume: | ||
|
||
from ipywidgets import VBox, jsdlink, IntSlider, Button | ||
import ipyvolume | ||
import ipyvolume.pylab as p3 | ||
import numpy as np | ||
examples/scatter | ||
examples/volshow | ||
examples/mesh | ||
examples/animation | ||
examples/bqplot | ||
examples/bokeh | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
bokeh | ||
bqplot | ||
example_mcmc | ||
Feel free to contribute new examples: | ||
|
||
* Add a notebook to `docs/source/examples` | ||
* Take a screenshot (of screencapture) and put it at `docs/source/examples/screenshot`. | ||
* Make a reference to the screenshot in the notebook, e.g. a markdown cell containing `[screenshot](screenshot/myexample.png)` | ||
* Add an entry in `docs/source/conf.py`. | ||
* Open a pull request at https://github.com/maartenbreddels/ipyvolume |
Oops, something went wrong.