pyvista.Texture.rotate_ccw

pyvista.Texture.rotate_ccw#

Texture.rotate_ccw() Texture[source]#

Rotate this texture 90 degrees counter-clockwise.

Returns:
pyvista.Texture

Rotated texture.

Examples

>>> from pyvista import examples
>>> texture = examples.download_puppy_texture()
>>> rotated = texture.rotate_ccw()
>>> rotated.plot()
../../../_images/pyvista-Texture-rotate_ccw-1_00_00.png