{"schemaVersion":"1.0","record":{"label":"PyVista","description":"Python library for NumPy-oriented mesh processing and scientific visualization over VTK.","aliases":[],"kind":"software","website":"https://docs.pyvista.org/","overview":"PyVista is an open-source Python library for three-dimensional visualization and mesh analysis. It provides NumPy-oriented dataset objects, processing filters and plotting interfaces over VTK. It is intended to be used from code, notebooks or applications rather than being a direct substitute for every feature of a standalone graphical analysis program.","license":"MIT","lifecycle":"active","example":false,"features":[{"name":"Array-oriented mesh processing","status":"supported","detail":"Dataset objects and filters expose spatial data through Python.","useCase":"Scientific dataset visualization and processing","platforms":["Python with supported VTK and rendering backends"],"region":"Build, rendering backend, reader/writer and dataset requirements apply","evidence":[{"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"},{"url":"https://docs.pyvista.org/user-guide/what-is-a-mesh.html","locator":"Points, cell connectivity and spatial datasets","retrievedAt":"2026-10-07T04:05:09Z","kind":"vendor"}]},{"name":"Interactive HTML output","status":"limited","detail":"The documented scene exporter requires Trame.","useCase":"Scientific dataset visualization and processing","platforms":["Python with supported VTK and rendering backends"],"region":"Build, rendering backend, reader/writer and dataset requirements apply","evidence":[{"url":"https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.export_html","locator":"Interactive scene export requires trame","retrievedAt":"2026-10-07T04:04:06Z","kind":"vendor"}]}],"alternatives":[],"slug":"pyvista","draftAlternatives":[{"targetSlug":"mayavi","status":"limited","detail":"Alternative scripting interface over VTK; application controls, APIs and saved visualizations differ.","useCase":"Supported Python mesh analysis and visualization","platforms":["Python with supported VTK and rendering backends"],"region":"Build, rendering backend, reader/writer and dataset requirements apply","evidence":[{"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"},{"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"}]}],"evidence":[{"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"}],"document":{"version":1,"references":[{"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"},{"url":"https://docs.pyvista.org/user-guide/what-is-a-mesh.html","locator":"Points, cell connectivity and spatial datasets","retrievedAt":"2026-10-07T04:05:09Z","id":"pv-mesh","title":"PyVista meshes","kind":"vendor"},{"url":"https://docs.pyvista.org/user-guide/jupyter/index.html","locator":"Static versus Trame server/client rendering backends","retrievedAt":"2026-10-07T04:04:06Z","id":"pv-jupyter","title":"PyVista notebook rendering","kind":"vendor"},{"url":"https://docs.pyvista.org/api/core/_autosummary/pyvista.dataobject.save","locator":"Dataset-specific writers and file-format output","retrievedAt":"2026-10-07T04:04:06Z","id":"pv-save","title":"PyVista DataObject.save","kind":"vendor"},{"url":"https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.export_html","locator":"Interactive scene export requires trame","retrievedAt":"2026-10-07T04:04:06Z","id":"pv-html","title":"PyVista HTML export","kind":"vendor"},{"url":"https://vtk.org/about/","locator":"C++ core, Python bindings, filters, interaction and BSD terms","retrievedAt":"2026-10-07T04:04:24Z","id":"vtk-home","title":"VTK overview and license","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"}],"overviewCitations":["pv-repo"],"licenseCitations":["pv-repo"],"sections":[{"id":"datasets","heading":"Meshes and array-oriented work","paragraphs":[{"id":"datasets-detail","content":[{"text":"The documentation uses mesh broadly for spatial datasets, including point clouds, surfaces and volumes. Points describe positions, while cell connectivity defines the relationships needed to represent geometry. This structure matters when associating numerical arrays with a dataset or applying filters such as clipping and slicing. A collection of coordinate values alone may not preserve the same topology as the source mesh."}],"citations":["pv-mesh","pv-repo"]}]},{"id":"notebooks","heading":"Rendering environments","paragraphs":[{"id":"notebooks-detail","content":[{"text":"Notebook plotting supports static images and Trame-based interactive rendering, including server and client-side arrangements. These are different deployment choices, not identical outputs. Static plots are easy to retain as images but lose interactive exploration; interactive backends introduce their own runtime requirements. A notebook that works in one environment may therefore need backend configuration and matching dependencies before another user can interact with its scene."}],"citations":["pv-jupyter"]}]},{"id":"exports","heading":"Data export and interactive scenes","paragraphs":[{"id":"exports-detail","content":[{"text":"Saving a data object invokes writers appropriate to the dataset and requested format. Exporting an interactive HTML scene is a separate plotting operation, and its API documentation requires Trame. These outputs preserve different things: dataset files support later numerical processing, whereas a scene export serves visualization. Neither replaces retaining the Python code and original inputs that generated a derived result."}],"citations":["pv-save","pv-html"]}]},{"id":"scope","heading":"License and alternatives","paragraphs":[{"id":"scope-detail","content":[{"text":"PyVista is MIT-licensed, with its underlying VTK and other dependencies retaining their own terms. It can replace "},{"text":"Mayavi","targetSlug":"mayavi"},{"text":" for supported Python mesh-processing and visualization tasks when its array-oriented API and available filters fit the project. That is a workflow-level substitution requiring code changes, not a claim that Mayavi scripts or visualization files load directly. Rendering support, data association and exported content should be checked for the actual environment."}],"citations":["pv-repo","vtk-home","may-over"]}]}]},"id":"Q548","revision":595,"updatedAt":"2026-10-12T22:25:41Z","sourceUrl":"https://substitutefor.net/entities/Q548?revision=595"}}