substitutefor

software · Q201

Mayavi

Python scientific-visualization application and library with VTK-based pipelines.

Suggest a correction

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.[1][2]

Sources, filters and visualizations

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.[2]

Recording and repeatable work

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.[3]

Visualizations and input data

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 VTK data formats can help move numerical inputs between applications, but do not establish that their scene configurations are interchangeable.[3][4]

License and alternatives

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.[1][2][5]

Capabilities & limitations

Interactive and scripted visualization

supported

Application controls and Python interfaces operate on source/filter/module pipelines.[2]

Scientific dataset visualization and processing · Windows, macOS, Linux · Build, rendering backend, reader/writer and dataset requirements apply

1 source · check evidence
https://docs.enthought.com/mayavi/mayavi/overview.html

Application versus library and sources/filters/modules pipeline

vendor · checked 2026-10-07

Complete action recording

limited

Recorder omits existing objects and some methods or interactions.[3]

Scientific dataset visualization and processing · Windows, macOS, Linux · Build, rendering backend, reader/writer and dataset requirements apply

1 source · check evidence
https://docs.enthought.com/mayavi/mayavi/application.html

MV2 visualizations, image export, Python recording and recorder limits

vendor · checked 2026-10-07

Can substitute for

These are products or services this entry can replace. Check the task and limitations for each comparison.

PyVista for Supported Python scientific visualization

limited

Alternative VTK-based application/library workflow; API and saved-scene migration require changes.[2][5]

Windows, macOS, Linux · Build, rendering backend, reader/writer and dataset requirements apply

References

  1. Mayavi repository

    README BSD-3-Clause, VTK/GUI dependencies and platform support

    vendor · retrieved 2026-10-07
  2. Mayavi overview

    Application versus library and sources/filters/modules pipeline

    vendor · retrieved 2026-10-07
  3. Mayavi application

    MV2 visualizations, image export, Python recording and recorder limits

    vendor · retrieved 2026-10-07
  4. VTK file formats

    Legacy, XML and VTKHDF format families; third-party compatibility caution

    vendor · retrieved 2026-10-07
  5. PyVista repository

    README NumPy-based meshes, filters, VTK foundation and MIT license

    vendor · retrieved 2026-10-07

Discussion & disputes

Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.

No discussion yet.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
1852026-10-10 14:32:13/* wbeditentity-create-item:0| */ sf:1d03d379-1ed1-4b1d-a024-f75228560d6c:v1 | Add Mayavi with cited scientific-visualization workflows, licensing and data portability; no software installed or datasets processed. | attribution: /proposals/1d03d379-1ed1-4b1d-a024-f75228560d6c