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

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

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

texture.plot(cpos='xy')

# SEE ALSO:
#     Parched Canal 4k Dataset https://docs.pyvista.org/api/examples/dataset_gallery.html#parched-canal-4k-dataset
#     See this dataset in the Dataset Gallery for more info.
#     Dikhololo Night Dataset https://docs.pyvista.org/api/examples/dataset_gallery.html#dikhololo-night-dataset
#     Another HDR texture.

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

