diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2020-11-14 16:45:38 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-14 16:45:38 -0800 |
commit | a00d1b4e358df0b238ccb60a2d7bb6b74717a1ef (patch) | |
tree | bcc994ef00d52a37ac45c13d6879e77246e41d86 /doc/conf.py | |
parent | 457ab82bda75fad7f096a170b7d80dd7f295dee5 (diff) | |
download | networkx-a00d1b4e358df0b238ccb60a2d7bb6b74717a1ef.tar.gz |
Enable mayavi in sphinx gallery. (#4297)
* Enable mayavi in sphinx gallery.
* Add mayavi deps to example requirements.
* Install vtk before mayavi
* Don't popup Mayavi windows
* Display offscreen
* Borrow mayavi CI conf from sphinx-gallery
* Grab dependencies as specified in sphinx-gallery conf.
* Set up virtual frame buffer so mayavi can import/run headless.
Co-authored-by: Jarrod Millman <jarrod.millman@gmail.com>
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/conf.py b/doc/conf.py index b58f9aae..c12f625e 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -50,6 +50,7 @@ sphinx_gallery_conf = { # path where to save gallery generated examples "gallery_dirs": "auto_examples", "backreferences_dir": "modules/generated", + "image_scrapers": ("matplotlib", "mayavi"), } # generate autosummary pages |