Code Monkey home page Code Monkey logo

Comments (3)

Titan-C avatar Titan-C commented on June 12, 2024

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.

GaelVaroquaux avatar GaelVaroquaux commented on June 12, 2024

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.

Titan-C avatar Titan-C commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.