# Examples from pyvista.Texture.interpolate
# =========================================

# Show the masonry texture without interpolation. Here, we zoom to show
# the individual pixels.
from pyvista import examples
texture = examples.download_masonry_texture()
texture.interpolate = False
texture.plot(cpos='xy', zoom=3)

# Plot the same texture with interpolation.
texture.interpolate = True
texture.plot(cpos='xy', zoom=3)

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

