pyvista.examples.planets.download_saturn_rings#

download_saturn_rings(texture=False, load=True)[source]#

Download the texture of Saturn’s rings.

Textures obtained from Solar Textures.

Parameters:
texturebool, default: False

Set to True when loading the surface as a texture.

loadbool, default: True

Load the dataset. When False, return the path to the file.

Returns:
pyvista.ImageData, pyvista.Texture, or str

Dataset, texture, or filename of the Saturn’s rings.

Examples

>>> from pyvista import examples
>>> texture = examples.planets.download_saturn_rings(texture=True)
>>> texture.plot(cpos='xy')
../../../_images/pyvista-examples-planets-download_saturn_rings-1_00_00.png