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()
https://d33wubrfki0l68.cloudfront.net/199a60b4f7a3c960aa3c82bfa82e587d3e9243de/fd4b6/_images/pyvista-actor-plot-1_00_00.png