PolyDataFilters.plot_normals(show_mesh=True, mag=1.0, flip=False, use_every=1, color=None, **kwargs)

Plot the point normals of a mesh.

show_meshbool, optional

Plot the mesh itself. Defaults to True.

magfloat, optional

Size magnitude of the normal arrows. Defaults to 1.0.

flipbool, optional

Flip the normal direction when True. Default False.

use_everyint, optional

Display every nth normal. By default every normal is displayed. Display every 10th normal by setting this parameter to 10.

colorstr, optional

Color of the arrows. Defaults to pyvista.themes.DefaultTheme.edge_color.

**kwargsdict, optional

All additional keyword arguments will be passed to pyvista.BasePlotter.add_mesh().


List of camera position, focal point, and view up. Returned when return_cpos is True.


Plot the normals of a sphere.

>>> import pyvista as pv
>>> sphere = pv.Sphere()
>>> sphere.plot_normals(mag=0.1)