pyvista.examples.planets.load_saturn_rings#
- load_saturn_rings(inner=0.25, outer=0.5, c_res=6)[source]#
Load the planet Saturn’s rings.
Arguments are passed on to
pyvista.Disc()
.- Parameters:
- Returns:
pyvista.PolyData
Dataset with texture for Saturn’s rings.
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> mesh = examples.planets.load_saturn_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)