pyvista.Texture.flip_y

Contents

pyvista.Texture.flip_y#

Texture.flip_y() Texture[source]#

Flip the texture in the y direction.

Returns:
pyvista.Texture

Flipped texture.

Examples

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