pyvista.Actor.plot#

Actor.plot(**kwargs)[source]#

Plot just the actor.

This may be useful when interrogating or debugging individual actors.

Parameters:
**kwargsdict, optional

Optional keyword arguments passed to pyvista.Plotter.show().

Examples

Create an actor without the pyvista.Plotter, change its properties, and plot it.

>>> import pyvista as pv
>>> mesh = pv.Sphere()
>>> mapper = pv.DataSetMapper(mesh)
>>> actor = pv.Actor(mapper=mapper)
>>> actor.prop.color = 'red'
>>> actor.prop.show_edges = True
>>> actor.plot()
../../../_images/pyvista-Actor-plot-1_00_00.png