class_docstr: An internal class to manage filters/algorithms for polydata datasets.
class_docstr_tok: ["An","internal","class","to","manage","filters\/algorithms","for","polydata","datasets","."]
docstr: Plot boundaries of a mesh.
  
  Parameters
  ----------
  edge_color : ColorLike, default: "red"
      The color of the edges when they are added to the plotter.
  
  line_width : int, optional
      Width of the boundary lines.
  
  progress_bar : bool, default: False
      Display a progress bar to indicate progress.
  
  **kwargs : dict, optional
      All additional keyword arguments will be passed to
      :func:`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)
docstr_tok: ["Plot","boundaries","of","a","mesh",".","Parameters","--","--","--","--","--","edge_color",":","ColorLike",",","default",":","``","red","''","The","color","of","the","edges","when","they","are","added","to","the","plotter",".","line_width",":","int",",","optional","Width","of","the","boundary","lines",".","progress_bar",":","bool",",","default",":","False","Display","a","progress","bar","to","indicate","progress",".","*","*","kwargs",":","dict",",","optional","All","additional","keyword","arguments","will","be","passed","to",":","func",":","`","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",")"]
code: def plot_boundaries(
      self,
      edge_color="red",
      line_width=None,
      progress_bar=False,
      **kwargs,
  ):
      """Plot boundaries of a mesh.
  
      Parameters
      ----------
      edge_color : ColorLike, default: "red"
          The color of the edges when they are added to the plotter.
  
      line_width : int, optional
          Width of the boundary lines.
  
      progress_bar : bool, default: False
          Display a progress bar to indicate progress.
  
      **kwargs : dict, optional
          All additional keyword arguments will be passed to
          :func:`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)
  
      """
      edges = DataSetFilters.extract_feature_edges(
          self, progress_bar=progress_bar
      )
  
      plotter = pyvista.Plotter(
          off_screen=kwargs.pop("off_screen", None),
          notebook=kwargs.pop("notebook", None),
      )
      plotter.add_mesh(
          edges,
          color=edge_color,
          style="wireframe",
          label="Edges",
          line_width=line_width,
      )
      plotter.add_mesh(self, label="Mesh", **kwargs)
      plotter.add_legend()
      return plotter.show()
  
imports: import collections.abc
  import warnings
  import numpy
  import pyvista
  from pyvista.core import _vtk_core
  from pyvista.core.errors import MissingDataError, NotAllTrianglesError, PyVistaFutureWarning, VTKVersionError
  from pyvista.core.filters import _get_output, _update_alg
  from pyvista.core.filters.data_set import DataSetFilters
  from pyvista.core.utilities.arrays import FieldAssociation, get_array, get_array_association, set_default_active_scalars, vtk_id_list_to_array
  from pyvista.core.utilities.geometric_objects import NORMALS
  from pyvista.core.utilities.helpers import generate_plane, wrap
  from pyvista.core.utilities.misc import abstract_class, assert_empty_kwargs
label_desc: Use image node_id 29 for calling the PolyDataFilters obj's underlying member method code with example usage: obj.plot_boundaries(edge_color, line_width, progress_bar) and returns: plotter