https://docs.pyvista.org/
PyVista — PyVista 0.48.4 documentation
, Overview: PyVista is the foundational Python library for 3D visualization and mesh analysis in scientific computing and engineering. PyVista plays the same...
pyvistadocumentation
https://joss.theoj.org/papers/10.21105/joss.01450
Journal of Open Source Software: PyVista: 3D plotting and mesh analysis through a streamlined...
Sullivan et al., (2019). PyVista: 3D plotting and mesh analysis through a streamlined interface for the Visualization Toolkit (VTK). Journal of Open Source...
https://pyvista.org/
PyVista | 3D plotting & analysis made easy
PyVista is a Python library for 3D visualization and mesh analysis that works naturally with NumPy, pandas, xarray, and the rest of the scientific Python...
pyvistaplottinganalysismadeeasy
https://docs.pyvista.org/examples/00-load/read_file
Load and Plot from a File — PyVista 0.48.4 documentation
Read a dataset from a known file type. Loading a mesh is trivial - if your data is in one of the many supported file formats, simply use pyvista.read() to load...
load and plot from a file
https://docs.pyvista.org/api/examples/_autosummary/pyvista.examples.cells.beziertriangle
BezierTriangle — PyVista 0.48.4 documentation
beziertrianglepyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotting.volume_property.volumeproperty.shade
VolumeProperty.shade — PyVista 0.48.4 documentation
shadepyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.enable_rectangle_through_picking
Plotter.enable_rectangle_through_picking — PyVista 0.48.4 documentation
plotterenablerectanglepicking
https://docs.pyvista.org/api/examples/_autosummary/pyvista.examples.downloads.download_cells_nd
download_cells_nd — PyVista 0.48.4 documentation
downloadcellsndpyvistadocumentation
https://docs.pyvista.org/api/examples/_autosummary/pyvista.examples.cells.quadraticquadrilateral
QuadraticQuadrilateral — PyVista 0.48.4 documentation
quadraticquadrilateralpyvistadocumentation
https://docs.pyvista.org/api/readers/_autosummary/pyvista.exodusiireader.face_blocks
ExodusIIReader.face_blocks — PyVista 0.48.4 documentation
exodusiireaderfaceblockspyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.fly_to
Plotter.fly_to — PyVista 0.48.4 documentation
plotterflypyvistadocumentation
https://docs.pyvista.org/examples/03-widgets/animation
Animation — PyVista 0.48.4 documentation
This example demonstrates how to create a simple animation. A timer is used with add_timer_event() to move a sphere across a scene. Inspired by VTK Animation...
animationpyvistadocumentation
https://docs.pyvista.org/examples/01-filter/extrude_trim
Extrude Trim — PyVista 0.48.4 documentation
Extrude a pyvista.PolyData with a pyvista.Plane() using extrude_trim(). Generate an Extruded Surface: Plot the Extruded Surface: Plot the resulting...
extrude trimpyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.renderer.camera_position
Renderer.camera_position — PyVista 0.48.4 documentation
renderercamerapositionpyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.cubeaxesactor.camera
CubeAxesActor.camera — PyVista 0.48.4 documentation
cubeaxesactorcamerapyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.import_obj
Plotter.import_obj — PyVista 0.48.4 documentation
plotterimportobjpyvistadocumentation
https://docs.pyvista.org/examples/01-filter/image_fft
Fast Fourier Transform — PyVista 0.48.4 documentation
This example shows how to apply a Fast Fourier Transform (FFT) to a pyvista.ImageData using pyvista.ImageDataFilters.fft() filter. Here, we demonstrate FFT...
fast fourier transformpyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.where_is
Plotter.where_is — PyVista 0.48.4 documentation
plotterpyvistadocumentation
https://docs.pyvista.org/examples/00-load/create_explicit_structured_grid
Creating an Explicit Structured Grid — PyVista 0.48.4 documentation
Create an explicit structured grid from NumPy arrays using pyvista.ExplicitStructuredGrid. Static Scene Interactive Scene Tags: load Total running time of the...
creatingexplicitstructuredgrid
https://docs.pyvista.org/api/examples/_autosummary/pyvista.examples.downloads.download_cubemap_park
download_cubemap_park — PyVista 0.48.4 documentation
downloadcubemapparkpyvistadocumentation
https://docs.pyvista.org/api/readers/_autosummary/pyvista.plyreader
PLYReader — PyVista 0.48.4 documentation
Methods: Attributes:
plyreaderpyvistadocumentation
https://docs.pyvista.org/api/examples/_autosummary/pyvista.examples.downloads.download_biplane
download_biplane — PyVista 0.48.4 documentation
downloadbiplanepyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.cornerannotation.set_text
CornerAnnotation.set_text — PyVista 0.48.4 documentation
cornerannotationsettextpyvistadocumentation
https://docs.pyvista.org/examples/00-load/create_circular_arc
Create Circular Arcs — PyVista 0.48.4 documentation
Generate arc geometry with pyvista.CircularArc() and pyvista.CircularArcFromNormal(). Create an arc from two endpoints: The first arc is defined directly from...
create circular arcspyvistadocumentation
https://docs.pyvista.org/api/utilities/utilities
General Utilities — PyVista 0.48.4 documentation
Object Conversions or Wrapping: Features: File IO: Mesh Creation: Enums: Array Access: Transformations: Image Comparison and Regression: Colors: Named colors...
general utilitiespyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.add_chart
Plotter.add_chart — PyVista 0.48.4 documentation
plotteraddchartpyvistadocumentation
https://docs.pyvista.org/examples/01-filter/integrate_data
Integrate Data — PyVista 0.48.4 documentation
Integrate data over a surface using the pyvista.DataSetFilters.integrate_data() filter. This example calculates the total flow rate and average velocity inside...
integrate datapyvistadocumentation
https://docs.pyvista.org/api/examples/_autosummary/pyvista.examples.gltf.download_milk_truck
download_milk_truck — PyVista 0.48.4 documentation
downloadmilktruckpyvistadocumentation
https://docs.pyvista.org/examples/02-plot/chart_overlays
Chart Overlays — PyVista 0.48.4 documentation
This example shows how you can combine multiple charts as overlays in the same renderer. For an overview of the different chart types you can use, please refer...
chart overlayspyvistadocumentation
https://docs.pyvista.org/examples/02-plot/linked_views
Linked Views in Subplots — PyVista 0.48.4 documentation
This example demonstrates how to create linked views in PyVista subplots using link_views(), where camera movements in one view are synchronized with other...
linked views in subplotspyvistadocumentation
https://docs.pyvista.org/api/examples/_autosummary/pyvista.examples.downloads.download_unstructured_grid
download_unstructured_grid — PyVista 0.48.4 documentation
downloadunstructuredgridpyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.axesactor.z_axis_tip_properties
AxesActor.z_axis_tip_properties — PyVista 0.48.4 documentation
z axisaxesactortipproperties
https://docs.pyvista.org/examples/99-advanced/anatomical_groups
Visualize Anatomical Groups — PyVista 0.48.4 documentation
This example visualizes different anatomical groups using the segmentation labels available from the downloadable datasets download_whole_body_ct_female() and...
visualize anatomical groupspyvistadocumentation
https://docs.pyvista.org/examples/01-filter/subdivide
Subdivide Cells — PyVista 0.48.4 documentation
Increase the number of triangles in a single, connected triangular mesh. The pyvista.PolyDataFilters.subdivide() filter utilizes three different subdivision...
subdivide cellspyvistadocumentation
https://zenodo.org/records/8415866
pyvista/pyvista: v0.42.3 | Zenodo
pyvistazenodo
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.clear_logo_widgets
Plotter.clear_logo_widgets — PyVista 0.48.4 documentation
plotterclearlogowidgetspyvista
https://docs.pyvista.org/api/readers/_autosummary/pyvista.openfoamreader.active_time_value
OpenFOAMReader.active_time_value — PyVista 0.48.4 documentation
active timeopenfoamreadervaluepyvistadocumentation
https://docs.pyvista.org/examples/01-filter/slice
Slicing — PyVista 0.48.4 documentation
Extract thin planar slices from a volume. PyVista meshes have several slicing filters bound directly to all datasets. These filters allow you to slice through...
slicingpyvistadocumentation
https://docs.pyvista.org/examples/03-widgets/multi_slider_widget
Multiple Slider Widgets — PyVista 0.48.4 documentation
Use add_slider_widget() and a class-based callback to track multiple slider widgets for updating a single mesh. In this example we simply change a few...
multiple slider widgetspyvistadocumentation
https://docs.pyvista.org/examples/
Examples — PyVista 0.48.4 documentation
Here is a gallery of several examples demonstrating what PyVista can do. All of these examples are live and available on MyBinder. Launch on Binder Mesh...
examplespyvistadocumentation
https://docs.pyvista.org/examples/00-load/read_dolfin
Read FEniCS/Dolfin Meshes — PyVista 0.48.4 documentation
PyVista leverages meshio to read many mesh formats not natively supported by VTK including the FEniCS/Dolfin XML format. This example uses pyvista.read()....
readfenicsdolfinmeshespyvista
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.datasetmapper.lookup_table
DataSetMapper.lookup_table — PyVista 0.48.4 documentation
lookup tabledatasetmapperpyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotting.widgets.affinewidget3d.remove
AffineWidget3D.remove — PyVista 0.48.4 documentation
removepyvistadocumentation
https://docs.pyvista.org/examples/00-load/create_truss
Plot Truss-like FEA Solution with Cylinders — PyVista 0.48.4 documentation
Plot connections between points in 3D as cylinders, colored by scalars. Lines are created in a pyvista.PolyData and then rendered as cylinders. Define the...
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotting.volume_property.volumeproperty.specular_power
VolumeProperty.specular_power — PyVista 0.48.4 documentation
specularpowerpyvistadocumentation
https://docs.pyvista.org/examples/01-filter/resampling
Detailed Resampling — PyVista 0.48.4 documentation
This example uses pyvista.DataObjectFilters.sample(). pyvista.DataSetFilters.interpolate() is similar, and the two methods are compared in Compare...
detailed resamplingpyvistadocumentation
https://docs.pyvista.org/examples/02-plot/image_depth
Render a depth image — PyVista 0.48.4 documentation
Use get_image_depth() to plot a depth image as viewed from a camera overlooking the load_random_hills() example mesh. Static Scene Interactive Scene Record...
render a depth imagepyvistadocumentation
https://docs.pyvista.org/api/readers/_autosummary/pyvista.openfoamreader.enable_patch_array
OpenFOAMReader.enable_patch_array — PyVista 0.48.4 documentation
openfoamreaderenablepatcharraypyvista
https://docs.pyvista.org/examples/01-filter/perlin_noise_3d
Sample Function: Perlin Noise in 3D — PyVista 0.48.4 documentation
Here we use pyvista.core.utilities.features.sample_function() to sample Perlin noise over a region to generate random terrain. Video games like Minecraft use...
https://docs.pyvista.org/examples/00-load/create_polyhedron
Unstructured Grid with Polyhedra — PyVista 0.48.4 documentation
This example shows how to build a simple pyvista.UnstructuredGrid using polyhedra. We will be using VTK types to determine which type of cells we are building....
unstructuredgridpolyhedrapyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.planesassembly.label_offset
PlanesAssembly.label_offset — PyVista 0.48.4 documentation
planesassemblylabeloffsetpyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.enable_horizon_picking
Plotter.enable_horizon_picking — PyVista 0.48.4 documentation
plotterenablehorizonpickingpyvista
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.axesactor.shaft_type
AxesActor.shaft_type — PyVista 0.48.4 documentation
shaft typeaxesactorpyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.cubeaxesactor.y_label_format
CubeAxesActor.y_label_format — PyVista 0.48.4 documentation
cubeaxesactorlabelformatpyvistadocumentation
https://docs.pyvista.org/examples/02-plot/distance_measurement
Measuring distance — PyVista 0.48.4 documentation
This example demonstrates how to measure distance between two points. add_measurement_widget(). Static Scene Interactive Scene Tags: plot Total running time of...
measuring distancepyvistadocumentation
https://docs.pyvista.org/examples/02-plot/silhouette
Silhouette Highlight — PyVista 0.48.4 documentation
Extract a subset of the edges of a polygonal mesh to generate an outline (silhouette) of a mesh. The silhouette may be created using the silhouette keyword...
silhouette highlightpyvistadocumentation
https://docs.pyvista.org/api/examples/_autosummary/pyvista.examples.cells.voxel
Voxel — PyVista 0.48.4 documentation
voxelpyvistadocumentation
https://docs.pyvista.org/api/readers/_autosummary/pyvista.openfoamreader.enable_all_patch_arrays
OpenFOAMReader.enable_all_patch_arrays — PyVista 0.48.4 documentation
enable allopenfoamreaderpatcharrays
https://docs.pyvista.org/api/readers/_autosummary/pyvista.pngwriter
PNGWriter — PyVista 0.48.4 documentation
Methods: Attributes:
pngwriterpyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.hide_axes
Plotter.hide_axes — PyVista 0.48.4 documentation
plotterhideaxespyvistadocumentation
https://docs.pyvista.org/examples/00-load/create_platonic_solids
Platonic Solids — PyVista 0.48.4 documentation
PyVista wraps the vtkPlatonicSolidSource filter as pyvista.PlatonicSolid(). We can either use the generic PlatonicSolid() and specify the different kinds of...
platonic solidspyvistadocumentation
https://docs.pyvista.org/examples/00-load/create_text_3d
Create 3D Text — PyVista 0.48.4 documentation
Generate extruded text geometry with pyvista.Text3D(). Create an extruded text mesh: The text is standard PolyData and can be transformed and plotted like any...
createtextpyvistadocumentation
https://docs.pyvista.org/api/examples/_autosummary/pyvista.examples.downloads.download_can_crushed_hdf
download_can_crushed_hdf — PyVista 0.48.4 documentation
downloadcrushedhdfpyvistadocumentation
https://docs.pyvista.org/examples/02-plot/graph_network
Plot a 3D Graph Network — PyVista 0.48.4 documentation
Render a node-edge network with labels and weighted edges using pyvista.line_segments_from_points(). Define nodes and weighted edges: Six labeled nodes...
plotgraphnetwork
https://docs.pyvista.org/api/readers/_autosummary/pyvista.cgnsreader.enable_all_bases
CGNSReader.enable_all_bases — PyVista 0.48.4 documentation
enable allcgnsreaderbasespyvistadocumentation
https://docs.pyvista.org/examples/02-plot/gif
Create a GIF Movie — PyVista 0.48.4 documentation
Generate a moving gif from an active plotter. This example uses open_gif() and write_frame() to create the gif. Create a structured grid: Create a structured...
create a gif moviepyvistadocumentation
https://docs.pyvista.org/api/utilities/_autosummary/pyvista.grid_from_sph_coords
grid_from_sph_coords — PyVista 0.48.4 documentation
gridsphcoordspyvistadocumentation
https://docs.pyvista.org/api/utilities/_autosummary/pyvista.rectangle
Rectangle — PyVista 0.48.4 documentation
rectanglepyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.axesactor.z_axis_shaft_properties
AxesActor.z_axis_shaft_properties — PyVista 0.48.4 documentation
z axisaxesactorshaftproperties
https://docs.pyvista.org/examples/01-filter/gradients
Compute Gradients of a Field — PyVista 0.48.4 documentation
compute gradients of a field
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.add_line_widget
Plotter.add_line_widget — PyVista 0.48.4 documentation
add lineplotterwidgetpyvistadocumentation
https://docs.pyvista.org/examples/01-filter/project_plane
Project to a Plane — PyVista 0.48.4 documentation
pyvista.PolyData surfaces and pointsets can easily be projected to a plane defined by a normal and origin using project_points_to_plane(). Static Scene...
project to a planepyvistadocumentation
https://docs.pyvista.org/extras/pytest_plugin
PyVista pytest Plugin — PyVista 0.48.4 documentation
PyVista provides a pytest plugin pytest-pyvista for image regression testing.
pyvista pytest plugindocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.add_orientation_widget
Plotter.add_orientation_widget — PyVista 0.48.4 documentation
plotteraddorientationwidgetpyvista
https://docs.pyvista.org/api/utilities/_autosummary/pyvista.get_cmap_safe
get_cmap_safe — PyVista 0.48.4 documentation
getcmapsafepyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotting.mapper._basemapper.color_mode
_BaseMapper.color_mode — PyVista 0.48.4 documentation
color modepyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.axesassemblysymmetric.z_label
AxesAssemblySymmetric.z_label — PyVista 0.48.4 documentation
axesassemblysymmetriczlabelpyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.cubeaxesactor.x_title
CubeAxesActor.x_title — PyVista 0.48.4 documentation
cubeaxesactortitlepyvistadocumentation
https://docs.sunpy.org/projects/sunkit-pyvista/en/latest/
sunkit-pyvista Documentation — sunkit-pyvista 0.3.1.dev65 documentation
pyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.actor.set_point_sprite_shape
Actor.set_point_sprite_shape — PyVista 0.48.4 documentation
set pointactorspriteshape
https://docs.pyvista.org/examples/02-plot/point_picking
Picking points on a mesh — PyVista 0.48.4 documentation
This example demonstrates how to pick points on meshes using enable_point_picking(). Pick points on a sphere: Ignore the 3D window: In the above example, both...
picking points on a mesh
https://docs.pyvista.org/examples/04-lights/light_actors
Light Actors — PyVista 0.48.4 documentation
Positional lights in PyVista have customizable beam shapes, see the Beam Shape example. Spotlights are special in the sense that they are unidirectional lights...
light actorspyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.add_ruler
Plotter.add_ruler — PyVista 0.48.4 documentation
plotteraddrulerpyvistadocumentation
https://docs.pyvista.org/api/readers/_autosummary/pyvista.frdreader
FRDReader — PyVista 0.48.4 documentation
Methods: Attributes:
frdreaderpyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.renderer.view_xz
Renderer.view_xz — PyVista 0.48.4 documentation
rendererviewxzpyvistadocumentation
https://docs.pyvista.org/api/utilities/_autosummary/pyvista.cellstatus
CellStatus — PyVista 0.48.4 documentation
cellstatuspyvistadocumentation
https://docs.pyvista.org/api/readers/_autosummary/pyvista.pointcelldataselection.cell_array_status
PointCellDataSelection.cell_array_status — PyVista 0.48.4 documentation
pointcelldataselectionarraystatuspyvistadocumentation
https://docs.pyvista.org/api/plotting/charts/_autosummary/pyvista.plotting.charts.boxplot
BoxPlot — PyVista 0.48.4 documentation
Methods: Attributes:
boxplotpyvistadocumentation
https://docs.pyvista.org/api/utilities/_autosummary/pyvista.fit_plane_to_points
fit_plane_to_points — PyVista 0.48.4 documentation
fitplanepointspyvistadocumentation
https://docs.pyvista.org/examples/01-filter/point_cloud_orientation
Analyze the Orientation of a Point Cloud — PyVista 0.48.4 documentation
Fit a line, plane, and oriented bounding box to a tilted point cloud with PyVista’s principal-axis utilities. Load and tilt a point cloud: Subsample the...
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.planesassembly.x_color
PlanesAssembly.x_color — PyVista 0.48.4 documentation
x colorplanesassemblypyvistadocumentation
https://docs.pyvista.org/api/readers/_autosummary/pyvista.get_reader
get_reader — PyVista 0.48.4 documentation
getreaderpyvistadocumentation
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.add_legend
Plotter.add_legend — PyVista 0.48.4 documentation
plotteraddlegendpyvistadocumentation
https://docs.pyvista.org/examples/01-filter/icp_registration
Register a Surface with ICP — PyVista 0.48.4 documentation
Recover the rigid transform between two surfaces with the iterative closest point implementation behind pyvista.DataSetFilters.align(). Load a reference...
register a surface with icp
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.property.specular_power
Property.specular_power — PyVista 0.48.4 documentation
propertyspecularpowerpyvistadocumentation
https://docs.pyvista.org/examples/02-plot/lorenz_attractor
Plot a Lorenz Attractor — PyVista 0.48.4 documentation
Integrate the Lorenz system and render the trajectory as a colored tube built from pyvista.lines_from_points(). Integrate the Lorenz system: A forward-Euler...
plot a lorenz attractorpyvistadocumentation
https://docs.pyvista.org/examples/02-plot/topo_map
Topographic Map — PyVista 0.48.4 documentation
This is very similar to the Applying Textures example except it is focused on plotting aerial imagery from a GeoTIFF on top of some topography mesh. Start by...
topographic mappyvistadocumentation
https://docs.pyvista.org/examples/01-filter/image_fft_perlin_noise
Fast Fourier Transform with Perlin Noise — PyVista 0.48.4 documentation
This example shows how to apply a Fast Fourier Transform (FFT) to a pyvista.ImageData using pyvista.ImageDataFilters.fft() filter. Here, we demonstrate FFT...
fast fourier transform
https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotting.widgets.widgetcomponent.add_slider_widget
WidgetComponent.add_slider_widget — PyVista 0.48.4 documentation
slider widgetaddpyvistadocumentation
https://docs.pyvista.org/examples/00-load/create_pointset
Create a PointSet — PyVista 0.48.4 documentation
A pyvista.PointSet is a concrete class representing a set of points that specifies the interface for datasets that explicitly use “point” arrays to represent...
create a pointsetpyvistadocumentation