PolyDataFilters.plot_boundaries

PolyDataFilters.plot_boundaries#

PolyDataFilters.plot_boundaries(
*,
edge_color: ColorLike = 'red',
line_width: int | None = None,
progress_bar: bool = False,
**kwargs,
) → _ShowReturnType[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#

Download Python source code | Download Jupyter notebook

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