pyvista.examples.planets.load_jupiter#
- load_jupiter(radius=1.0, lat_resolution=50, lon_resolution=100)[source]#
Load the planet Jupiter as a textured sphere.
- Parameters:
- Returns:
pyvista.PolyData
Jupiter dataset.
Examples
>>> import pyvista as pv >>> from pyvista import examples >>> mesh = examples.planets.load_jupiter() >>> texture = examples.planets.download_jupiter_surface(texture=True) >>> image_path = examples.planets.download_stars_sky_background( ... load=False ... ) >>> mesh.plot(texture=texture, background=image_path)