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()
https://d33wubrfki0l68.cloudfront.net/2e5ebbde10fb3f02e8524448b5c16d816f07f5b3/e0507/_images/pyvista-texture-rotate_ccw-1_00_00.png