# Examples from pyvista.EnSightReader
# ===================================

import pyvista as pv
from pyvista import examples
from pathlib import Path
filename = examples.download_cylinder_crossflow(load=False)
Path(filename).name
reader = pv.get_reader(filename)
mesh = reader.read()
mesh.plot(
    scalars='velocity',
    component=1,
    clim=[-20, 20],
    cpos='xy',
    cmap='RdBu',
    show_scalar_bar=False,
)

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

