pyvista.examples.downloads.download_parched_canal_4k#
- download_parched_canal_4k(load=True)[source]#
Download parched canal 4k dataset.
- Parameters:
- Returns:
pyvista.Texture
|str
DataSet or filename depending on
load
.
Examples
>>> from pyvista import examples >>> texture = examples.download_parched_canal_4k() >>> texture.dimensions (4096, 2048)
Use
resample()
to downsample the texture’s underlying image before plotting.>>> _ = texture.to_image().resample(0.25, inplace=True) >>> texture.dimensions (1024, 512)
>>> texture.plot(cpos='xy')
See also
- Parched Canal 4k Dataset
See this dataset in the Dataset Gallery for more info.