download_pluto_surface

download_pluto_surface#

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

Download the texture of the surface of the dwarf planet Pluto.

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:
outputpyvista.DataSet | pyvista.Texture | str

Texture, Dataset, or path to the file depending on the load and texture parameters.

Examples

>>> from pyvista import examples
>>> texture = examples.planets.download_pluto_surface(texture=True)
>>> texture.plot(zoom='tight', show_axes=False)
../../../_images/pyvista-examples-planets-download_pluto_surface-a6af76a786363898_00_00.png
>>> mesh = examples.planets.load_planet()
>>> image_path = examples.planets.download_stars_sky_background(load=False)
>>> mesh.plot(texture=texture, background=image_path)
../../../_images/pyvista-examples-planets-download_pluto_surface-a6af76a786363898_01_00.png

See also

Pluto Surface Dataset

See this dataset in the Dataset Gallery for more info.

load_planet()

Load a planet as a sphere with texture coordinates.

3D Earth and Celestial Bodies

Example plot of the solar system.