# Examples from pyvista.examples.cells.Triangle
# =============================================

# Create and plot a single triangle.
from pyvista import examples
grid = examples.cells.Triangle()
examples.plot_cell(grid, cpos='xy')

# List the grid's cells.
grid.cells

# List the grid's points.
grid.points

grid.celltypes  # same as pyvista.CellType.TRIANGLE

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

