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 keyword 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()
Used In#
Docstring Examples
Texture(1 use)Texture.flip_x(1 use)Texture.flip_y(1 use)Texture.interpolate(1 use)Texture.rotate_ccw(1 use)26 more
Texture.rotate_cw(1 use)Texture.to_grayscale(1 use)download_bird_texture(1 use)download_cake_easy_texture(1 use)download_crater_imagery(1 use)download_dikhololo_night(1 use)download_emoji_texture(1 use)download_gourds_texture(1 use)download_jupiter_surface(1 use)download_mars_surface(1 use)download_mercury_surface(1 use)download_moon_surface(1 use)download_neptune_surface(1 use)download_parched_canal_4k(1 use)download_pluto_surface(1 use)download_puppy_texture(1 use)download_rgba_texture(1 use)download_saturn_rings(1 use)download_saturn_surface(1 use)download_sky_box_nz_texture(1 use)download_sun_surface(1 use)download_uranus_surface(1 use)download_usa_texture(1 use)download_venus_surface(1 use)download_vtk_logo(1 use)load_globe_texture(1 use)