{"schemaVersion":"1.0","record":{"label":"Mayavi","description":"Python scientific-visualization application and library with VTK-based pipelines.","aliases":["Mayavi2"],"kind":"software","website":"https://docs.enthought.com/mayavi/mayavi/","overview":"Mayavi is a Python application and library for scientific visualization of scalar, vector and tensor data. It provides interactive controls and scripting interfaces on top of VTK, allowing users to construct three-dimensional views without directly assembling every low-level rendering component. The current project is also commonly called Mayavi2.","license":"BSD-3-Clause","lifecycle":"active","example":false,"features":[{"name":"Interactive and scripted visualization","status":"supported","detail":"Application controls and Python interfaces operate on source/filter/module pipelines.","useCase":"Scientific dataset visualization and processing","platforms":["Windows","macOS","Linux"],"region":"Build, rendering backend, reader/writer and dataset requirements apply","evidence":[{"url":"https://docs.enthought.com/mayavi/mayavi/overview.html","locator":"Application versus library and sources/filters/modules pipeline","retrievedAt":"2026-10-07T04:04:32Z","kind":"vendor"}]},{"name":"Complete action recording","status":"limited","detail":"Recorder omits existing objects and some methods or interactions.","useCase":"Scientific dataset visualization and processing","platforms":["Windows","macOS","Linux"],"region":"Build, rendering backend, reader/writer and dataset requirements apply","evidence":[{"url":"https://docs.enthought.com/mayavi/mayavi/application.html","locator":"MV2 visualizations, image export, Python recording and recorder limits","retrievedAt":"2026-10-07T04:04:57Z","kind":"vendor"}]}],"alternatives":[],"slug":"mayavi","draftAlternatives":[{"targetSlug":"pyvista","status":"limited","detail":"Alternative VTK-based application/library workflow; API and saved-scene migration require changes.","useCase":"Supported Python scientific visualization","platforms":["Windows","macOS","Linux"],"region":"Build, rendering backend, reader/writer and dataset requirements apply","evidence":[{"url":"https://docs.enthought.com/mayavi/mayavi/overview.html","locator":"Application versus library and sources/filters/modules pipeline","retrievedAt":"2026-10-07T04:04:32Z","kind":"vendor"},{"url":"https://github.com/pyvista/pyvista","locator":"README NumPy-based meshes, filters, VTK foundation and MIT license","retrievedAt":"2026-10-07T04:03:57Z","kind":"vendor"}]}],"evidence":[{"url":"https://docs.enthought.com/mayavi/mayavi/overview.html","locator":"Application versus library and sources/filters/modules pipeline","retrievedAt":"2026-10-07T04:04:32Z","kind":"vendor"},{"url":"https://github.com/enthought/mayavi","locator":"README BSD-3-Clause, VTK/GUI dependencies and platform support","retrievedAt":"2026-10-07T04:03:46Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://github.com/enthought/mayavi","locator":"README BSD-3-Clause, VTK/GUI dependencies and platform support","retrievedAt":"2026-10-07T04:03:46Z","id":"may-repo","title":"Mayavi repository","kind":"vendor"},{"url":"https://docs.enthought.com/mayavi/mayavi/overview.html","locator":"Application versus library and sources/filters/modules pipeline","retrievedAt":"2026-10-07T04:04:32Z","id":"may-over","title":"Mayavi overview","kind":"vendor"},{"url":"https://docs.enthought.com/mayavi/mayavi/application.html","locator":"MV2 visualizations, image export, Python recording and recorder limits","retrievedAt":"2026-10-07T04:04:57Z","id":"may-app","title":"Mayavi application","kind":"vendor"},{"url":"https://docs.vtk.org/en/latest/vtk_file_formats/index.html","locator":"Legacy, XML and VTKHDF format families; third-party compatibility caution","retrievedAt":"2026-10-07T04:04:32Z","id":"vtk-formats","title":"VTK file formats","kind":"vendor"},{"url":"https://github.com/pyvista/pyvista","locator":"README NumPy-based meshes, filters, VTK foundation and MIT license","retrievedAt":"2026-10-07T04:03:57Z","id":"pv-repo","title":"PyVista repository","kind":"vendor"}],"overviewCitations":["may-over","may-repo"],"licenseCitations":["may-repo"],"sections":[{"id":"pipeline","heading":"Sources, filters and visualizations","paragraphs":[{"id":"pipeline-detail","content":[{"text":"A Mayavi pipeline starts with a data source, optionally applies filters and adds visualization modules within a scene. Separating source data from its visual representation makes it possible to inspect one dataset in several ways. Users can build this structure through the application or Python interfaces, including mlab for concise plotting. The application and the library therefore offer different entry points into the same visualization framework."}],"citations":["may-over"]}]},{"id":"recording","heading":"Recording and repeatable work","paragraphs":[{"id":"recording-detail","content":[{"text":"The application can record selected interface actions into Python code. The documentation warns that recording an already established session does not recreate objects that existed before recording began. Arbitrary method calls and some interaction shortcuts are not captured either. Recorded code is thus a useful starting point for automation, rather than a guarantee of a complete history of everything that produced the current view."}],"citations":["may-app"]}]},{"id":"files","heading":"Visualizations and input data","paragraphs":[{"id":"files-detail","content":[{"text":"The command-line documentation distinguishes saved MV2 visualizations, Python scripts and supported data files. Rendered image export is another separate output. Keeping the original datasets and the scripts or saved visualization is important when continued analysis is required, rather than only reproducing a presentation image. Shared "},{"text":"VTK","targetSlug":"vtk"},{"text":" data formats can help move numerical inputs between applications, but do not establish that their scene configurations are interchangeable."}],"citations":["may-app","vtk-formats"]}]},{"id":"availability","heading":"License and alternatives","paragraphs":[{"id":"availability-detail","content":[{"text":"Mayavi uses BSD 3-Clause licensing and depends on VTK and a supported GUI toolkit. The repository describes platform and dependency qualifications, while the inspected user guide is marked as development documentation. It can replace PyVista for supported Python-based scientific visualization when its pipeline and interface model fit the work. Existing PyVista scripts still require adaptation; using VTK underneath both projects does not make their APIs, controls or saved scenes identical."}],"citations":["may-repo","may-over","pv-repo"]}]}]},"id":"Q201","revision":185,"updatedAt":"2026-10-10T14:32:13Z","sourceUrl":"https://substitutefor.net/entities/Q201?revision=185"}}