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

# Create and plot a single line.
from pyvista import examples
grid = examples.cells.Line()
examples.plot_cell(grid)

# List the grid's cells.
grid.cells

# List the grid's points.
grid.points

grid.celltypes  # same as pyvista.CellType.LINE

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

