Comments (3)
Also, it seems that Travis is not testing the build of mayavi gallery examples (I might be wrong, but a quick search through Travis logs convinced me that it is not tested).
I can confirm this, we are not installing mayavi in the test environment and it is not getting tested.
I fixed the test issue on my branch https://github.com/Titan-C/sphinx-gallery/tree/mayavitest but I just noticed that as travis does not provide an X server, the build fails for mayavi. #56 Only avoid the pop-up of figure in build, but does not fix the need for the X server, like having the Agg matplotlib back end.
Regarding more into this issue. I tested in an anaconda venv with mayavi 4.4.0, and I have no problem running the mayavi example. But sphinx does gives me an error when parsing the examples, a problem more linked to the pygments and pyface packages that do the syntax highlighting.
from sphinx-gallery.
I fixed the test issue on my branch https://github.com/Titan-C/sphinx-gallery/
tree/mayavitest but I just noticed that as travis does not provide an X server,
the build fails for mayavi. #56 Only avoid the pop-up of figure in build, but
does not fix the need for the X server, like having the Agg matplotlib back
end.
You'll need the X virtual frame buffer:
http://docs.enthought.com/mayavi/mayavi/tips.html#rendering-using-the-virtual-framebuffer
from sphinx-gallery.
You'll need the X virtual frame buffer:
Thank you. To get it to work in travis is a bit different, but now is done and the travis environment is tested. The mayavi example runs, but the build crashes as in my computer due to pygments and pyface.
from sphinx-gallery.
Related Issues (20)
- Most recent version shows table of content HOT 1
- Gallery thumbnails now showing up HOT 2
- Debug Example Gallery Sorting HOT 4
- Sphinx roles and directives not working in generated examples HOT 4
- BUG: API usage fails when plotting disabled HOT 2
- Links in RST epilog show a warning HOT 2
- Question: how to remove Notebook download? HOT 2
- [Question] image caption?
- Rename README.rst to gallery_header.rst HOT 2
- How to use the only syntax based on sphinx gallery to output different documents according to labels HOT 4
- Order dependence with Jupyterlite HOT 6
- How does the only syntax take effect on titles HOT 3
- "Broken" gallery examples should still link to the code HOT 2
- Add option to set thumbnails for expected failing examples HOT 2
- Define CSS variables when `html[data-theme]` does not exist HOT 6
- Doc: document testing HOT 4
- [Maint] Add HTML parsing library as a testing dependency HOT 2
- Online documentation not deployed HOT 1
- Thumbnail generation is not working for plotly plots HOT 1
- ENH: remove file calling mini-gallery from mini-gallery
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sphinx-gallery.