MayaVi is a scientific data visualizer written in Python, which uses VTK and provides a GUI via Tkinter. MayaVi was developed by Prabhu Ramachandran, is free and distributed under the BSD License. It is cross-platform and runs on any platform where both Python and VTK are available (almost any Unix, Mac OS X, or Windows). MayaVi is pronounced as a single name, "Ma-ya-vee", meaning "magical" in Sanskrit. The code of MayaVi has nothing in common with that of Autodesk Maya or the Vi text editor.
Mayavi seeks to provide easy and interactive visualization of 3D data. It does this by the following: an (optional) rich user interface with dialogs to interact with all data and objects in the visualization. a simple and clean scripting interface in Python, including one-liners, a-la mlab, or object-oriented programming interface. harnesses the power of the VTK toolkit without forcing you to learn it. Mayavi is a general purpose, cross-platform tool for 2-D and 3-D scientific data visualization. Its features include: If you have installed Mayavi as described in the next section, you should be able to launch the mayavi2 application and also run any of the examples in the examples directory. By itself Mayavi is not a difficult package to install but its dependencies are unfortunately rather heavy. However, many of these dependencies are now available as wheels on PyPI. The two critical dependencies are, The latest VTK wheels are available on all the major platforms (Windows, MacOS, and Linux). If you are out of luck, and your platform is not supported then you will need to install VTK yourself using your particular distribution as discussed in the General Build and Installation instructions On Python 3.x you will need to install PyQt5 and wheels are available for this. On 2.7.x you have more options, and can use PySide , PyQt4 , and wxPython . These can be installed from pip or from your package manager. Currently, Mayavi itself should work with the new wxPython 4.x. However, traitsui , pyface , and other ETS packages do not yet support it so the UI will not work correctly. Older versions should work. PyQt/PySide/PySide2 should work largely out of the box. If you are unable to do this, read the documentation above and find a way to install VTK and a suitable UI toolkit and then repeat the above. If you are interested in the jupyter notebook support as well, do the following (after ensuring that you have jupyter installed of course. Note, the Jupyter notebook function is only supported starting mayavi version 4.5.0 ):: You will also need to have ipywidgets and ipyevents installed. These can be installed via pip or your favorite package manager. Add the jupyter nbextensions using the instructions in the section above and you should be good to go. More documentation is available in the online user manual or in docs directory of the sources. This includes a man page for the mayavi2 application, a users guide in HTML and PDF format and documentation for mlab . Examples are all in the examples directory of the source or the git clone. The docs and examples do not ship with the binary eggs. The examples directory also contains some sample data. The bug tracker is available in github Please provide info and details on platform, python, vtk and gui backends and their versions. If possible, a small example replicating the the problem. If you have questions you could ask on the Mayavi-users mailing list . This is used by some folks and is not too active. Another mailing list that may be of use is the ETS Users mailing list . This is a more general list where a lot of folks experienced with the Enthought Tool Suite are available. Patches from many people (see the release notes), including K K Rai and R A Ambareesha for tensor support, parametric source and image data. Many thanks to all those who have submitted bug reports and suggestions for further enhancements.
~3 min read
MayaVi is a scientific data visualizer written in Python, which uses VTK and provides a GUI via Tkinter. MayaVi was developed by Prabhu Ramachandran, is free and distributed under the BSD License. It is cross-platform and runs on any platform where both Python and VTK are available (almost any Unix, Mac OS X, or Windows). MayaVi is pronounced as a single name, "Ma-ya-vee", meaning "magical" in Sanskrit. The code of MayaVi has nothing in common with that of Autodesk Maya or the Vi text editor.
The latest version of MayaVi, called Mayavi2, is a component of the Enthought suite of scientific Python programs. It differs from the original MayaVi by its strong focus on making an interactive program and a reusable component for 3D plotting in Python. Although it exposes a slightly different interface and API than the original MayaVi, it now has more features.
Excerpt from the source-code README · 8,268 chars · not written by Vinony
via Wikidata · CC0
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).