# Examples from pyvista.DataSetFilters.merge_points
# =================================================

# Merge duplicate points in a mesh.
import pyvista as pv
mesh = pv.Cylinder(resolution=4)
mesh.n_points
_ = mesh.merge_points(inplace=True)
mesh.n_points

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code
