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

# Create and plot a single quadratic polygon.
from pyvista import examples
grid = examples.cells.QuadraticPolygon()
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.QUADRATIC_POLYGON

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

