pyvista.Actor.plot#
- Actor.plot(**kwargs) None [source]#
Plot just the actor.
This may be useful when interrogating or debugging individual actors.
- Parameters:
- **kwargs
dict
,optional
Optional keyword arguments passed to
pyvista.Plotter.show()
.
- **kwargs
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()