# Examples from pyvista.read_texture
# ==================================

# Read in an example jpg map file as a texture.
from pathlib import Path
import pyvista as pv
from pyvista import examples
Path(examples.mapfile).name
texture = pv.read_texture(examples.mapfile)
type(texture)

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

