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

from pyvista import examples
texture = examples.download_dikhololo_night()
texture.dimensions

# Use `resample()` to down-sample the texture's
# underlying image before plotting.
_ = texture.to_image().resample(0.25, inplace=True)
texture.dimensions

texture.plot(cpos='xy')

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