Plotting#
Intuitive plotting routines with matplotlib like syntax (see Plotting).
Plotting tools built for interactivity (see Widgets).
- Plotting
 - PyVista and PyQt
 - Themes
- pyvista.plotting.themes.DarkTheme
 - pyvista.plotting.themes.Theme
 - pyvista.plotting.themes.DocumentTheme
 - pyvista.plotting.themes.ParaViewTheme
 - pyvista.plotting.themes._AxesConfig
 - pyvista.plotting.themes._CameraConfig
 - pyvista.plotting.themes._ColorbarConfig
 - pyvista.plotting.themes._DepthPeelingConfig
 - pyvista.plotting.themes._Font
 - pyvista.plotting.themes._LightingConfig
 - pyvista.plotting.themes._SilhouetteConfig
 - pyvista.plotting.themes._SliderConfig
 - pyvista.plotting.themes._SliderStyleConfig
 - pyvista.plotting.themes._TrameConfig
 
 - Trame
 
Plotting API Reference#
Plotting module API reference. These plotting modules are the basis for all plotting functionality in PyVista.
  | 
Wrap vtkActor.  | 
  | 
PyVista wrapper for the VTK Axes class.  | 
  | 
Axes actor wrapper for vtkAxesActor.  | 
  | 
Assembly of arrow-style axes parts.  | 
  | 
Symmetric assembly of arrow-style axes parts.  | 
  | 
Container to hold camera location attributes.  | 
  | 
Text annotation in four corners.  | 
  | 
Wrap vtkCubeAxesActor.  | 
  | 
Wrap vtkDataSetMapper.  | 
  | 
Wrap vtkFollower.  | 
  | 
2D label actor with a 3D position coordinate.  | 
  | 
Scalar to RGBA mapping table.  | 
  | 
Assembly of orthogonal planes.  | 
  | 
Plotting object to display vtk meshes or numpy arrays.  | 
  | 
Prop3D wrapper for vtkProp3D.  | 
  | 
Wrap vtkProperty and expose it pythonically.  | 
  | 
Renderer class.  | 
  | 
|
  | 
Define text by default theme.  | 
  | 
Define text's property.  | 
  | 
Timer class.  | 
  | 
Base Mapper with methods common to other mappers.  | 
  | 
Lighting interpolation types.  | 
  | 
Types of representations the models can have.  | 
  | 
Types of elemental geometries.  | 
  | 
Wrapper class for VTK volume.  | 
Wrap the VTK class vtkVolumeProperty.  | 
Composite Plotting Reference#
These classes are used when plotting pyvista.MultiBlock datasets.
  | 
Composite PolyData mapper.  | 
  | 
Block attributes.  | 
  | 
Block attributes used to set the attributes of a block.  | 
Charts API#
Charts API reference. These dedicated classes can be used to embed charts in plotting windows. Note that full charts functionality requires a VTK version of at least 9.3. Most components work fine in older versions though.
- Charts
Chart- pyvista.Chart2D
 - pyvista.ChartBox
 - pyvista.ChartPie
 - pyvista.ChartMPL
 - pyvista.plotting.charts.Pen
 - pyvista.plotting.charts.Brush
 - pyvista.plotting.charts.Axis
 - pyvista.plotting.charts.LinePlot2D
 - pyvista.plotting.charts.ScatterPlot2D
 - pyvista.plotting.charts.BarPlot
 - pyvista.plotting.charts.AreaPlot
 - pyvista.plotting.charts.StackPlot
 - pyvista.plotting.charts.BoxPlot
 - pyvista.plotting.charts.PiePlot
 
 
Widget API#
The pyvista.Plotter class inherits all of the widget
methods described by the pyvista.plotting.widgets.WidgetHelper
class. For additional details, see the
Widgets examples.
  | 
An internal class to manage widgets.  | 
  | 
3D affine transform widget.  | 
Picking API#
The pyvista.Plotter class inherits all of the picking
methods described by the pyvista.plotting.picking.PickingHelper
class.
  | 
Internal container class to contain picking helper methods.  | 
Interactor Style API#
An interactor style sets mouse and key bindings to interact with
the plot. Most often methods like pyvista.Plotter.enable_trackball_style()
would be used, but this API can be used as a starting point for customizing the
interaction styles.
  | 
A mixin for subclasses of vtkInteractorStyle with capturing ability.  | 
Image interactor style.  | 
|
  | 
Joystick actor interactor style.  | 
  | 
Joystick camera interactor style.  | 
  | 
Rubber band 2D interactor style.  | 
  | 
Rubber band pick interactor style.  | 
  | 
Trackball actor interactor style.  | 
  | 
Trackball camera interactor style.  | 
  | 
Terrain interactor style.  | 
Rubber band zoom interactor style.  | 
Convenience Functions#
These functions provide a simplified interface to the various plotting routines in PyVista.