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 the curvature.
  
  Parameters
  ----------
  curv_type : str, default: "mean"
      One of the following strings indicating curvature type:
  
      * ``'mean'``
      * ``'gaussian'``
      * ``'maximum'``
      * ``'minimum'``
  
  **kwargs : dict, optional
      See :func:`pyvista.plot`.
  
  Returns
  -------
  pyvista.CameraPosition
      List of camera position, focal point, and view up.
      Returned when ``return_cpos`` is ``True``.
  
  Examples
  --------
  Plot the Gaussian curvature of an example mesh.  Override the
  default scalar bar range as the mesh edges report high
  curvature.
  
  >>> from pyvista import examples
  >>> hills = examples.load_random_hills()
  >>> hills.plot_curvature(
  ...     curv_type='gaussian', smooth_shading=True, clim=[0, 1]
  ... )
docstr_tok: ["Plot","the","curvature",".","Parameters","--","--","--","--","--","curv_type",":","str",",","default",":","``","mean","''","One","of","the","following","strings","indicating","curvature","type",":","*","``","'mean","'","``","*","``","'gaussian","'","``","*","``","'maximum","'","``","*","``","'minimum","'","``","*","*","kwargs",":","dict",",","optional","See",":","func",":","`","pyvista.plot","`",".","Returns","--","--","--","-","pyvista.CameraPosition","List","of","camera","position",",","focal","point",",","and","view","up",".","Returned","when","``","return_cpos","``","is","``","True","``",".","Examples","--","--","--","--","Plot","the","Gaussian","curvature","of","an","example","mesh",".","Override","the","default","scalar","bar","range","as","the","mesh","edges","report","high","curvature",".",">",">",">","from","pyvista","import","examples",">",">",">","hills","=","examples.load_random_hills","(",")",">",">",">","hills.plot_curvature","(","...","curv_type='gaussian","'",",","smooth_shading=True",",","clim=","[","0",",","1","]","...",")"]
code: def plot_curvature(self, curv_type="mean", **kwargs):
      """Plot the curvature.
  
      Parameters
      ----------
      curv_type : str, default: "mean"
          One of the following strings indicating curvature type:
  
          * ``'mean'``
          * ``'gaussian'``
          * ``'maximum'``
          * ``'minimum'``
  
      **kwargs : dict, optional
          See :func:`pyvista.plot`.
  
      Returns
      -------
      pyvista.CameraPosition
          List of camera position, focal point, and view up.
          Returned when ``return_cpos`` is ``True``.
  
      Examples
      --------
      Plot the Gaussian curvature of an example mesh.  Override the
      default scalar bar range as the mesh edges report high
      curvature.
  
      >>> from pyvista import examples
      >>> hills = examples.load_random_hills()
      >>> hills.plot_curvature(
      ...     curv_type='gaussian', smooth_shading=True, clim=[0, 1]
      ... )
  
      """
      kwargs.setdefault(
          "scalar_bar_args",
          {"title": f"{curv_type.capitalize()} Curvature"},
      )
      return self.plot(scalars=self.curvature(curv_type), **kwargs)
  
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 12 for calling the PolyDataFilters obj's underlying member method code with example usage: obj.plot_curvature(curv_type) and returns: self