clear_textures

StructuredGrid.clear_textures()

Clear the textures from this mesh.

Examples

Clear the texture from the globe example.

>>> from pyvista import examples
>>> globe = examples.load_globe()
>>> globe.textures
{'2k_earth_daymap': (Texture)...}
>>> globe.clear_textures()
>>> globe.textures
{}