pyvista.Texture.plot#
- Texture.plot(**kwargs)[source]#
Plot the texture as an image.
If the texture is a cubemap, it will be displayed as a skybox with a sphere in the center reflecting the environment.
- Parameters:
- **kwargs
dict
,optional
Optional keyworld arguments. See
pyvista.plot()
.
- **kwargs
- Returns:
various
orNone
See the returns section of
pyvista.plot()
.
Examples
Plot a simple texture.
>>> from pyvista import examples >>> texture = examples.download_masonry_texture() >>> texture.plot()
Plot a cubemap as a skybox.
>>> cube_map = examples.download_dikhololo_night() >>> cube_map.plot()