load_planet_rings#
- load_planet_rings( ) PolyData[source]#
Load planetary rings as a disc with texture coordinates.
Arguments are passed on to
pyvista.Disc().Added in version 0.49.
- Parameters:
- Returns:
pyvista.PolyDataDataset with texture coordinates for planetary rings.
Examples#
>>> import pyvista as pv
>>> from pyvista import examples
>>> mesh = examples.planets.load_planet_rings()
>>> texture = examples.planets.download_saturn_rings(texture=True)
>>> image_path = examples.planets.download_stars_sky_background(load=False)
>>> mesh.plot(texture=texture, background=image_path)
See also
- Planet Rings Dataset
See this dataset in the Dataset Gallery for more info.
download_saturn_rings()Download the texture of Saturn’s rings.
load_planet()Load a planet as a sphere with texture coordinates.
download_saturn_surface()Download the surface of Saturn.
- 3D Earth and Celestial Bodies
Example plot of the solar system.