pyvista.PolyDataFilters.plot_boundaries#

PolyDataFilters.plot_boundaries(edge_color='red', line_width=None, progress_bar=False, **kwargs)[source]#

Plot boundaries of a mesh.

Parameters:
edge_colorColorLike, default: “red”

The color of the edges when they are added to the plotter.

line_widthint, optional

Width of the boundary lines.

progress_barbool, default: False

Display a progress bar to indicate progress.

**kwargsdict, optional

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

Returns:
pyvista.CameraPosition

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

Examples

>>> from pyvista import examples
>>> hills = examples.load_random_hills()
>>> hills.plot_boundaries(line_width=10)
../../../_images/pyvista-PolyDataFilters-plot_boundaries-1_00_00.png