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:
- output
pyvista.Actor|None See the returns section of
pyvista.plot().
- output
Examples#
Download Python source code | Download Jupyter notebook
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_sky_box_cube_map()
>>> cube_map.plot()