# Examples from pyvista.examples.downloads.download_masonry_texture
# =================================================================

# Create plot the masonry testure on a surface.
import pyvista as pv
from pyvista import examples
texture = examples.download_masonry_texture()
surf = pv.Cylinder()
surf.plot(texture=texture)

# SEE ALSO:
#     Masonry Texture Dataset https://docs.pyvista.org/api/examples/dataset_gallery.html#masonry-texture-dataset
#     See this dataset in the Dataset Gallery for more info.
#     Applying Textures https://docs.pyvista.org/examples/02-plot/texture.html#texture-example
#     Example using this dataset.

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

