load_mercury

load_mercury#

load_mercury(
*,
radius: float = 1.0,
lat_resolution: int = 50,
lon_resolution: int = 100,
) → PolyData[source]#

Load the planet Mercury as a textured sphere.

Deprecated since version 0.49.0: Use load_planet() instead. load_mercury will be removed in v0.52.

Parameters:
radiusfloat, default: 1.0

Sphere radius.

lat_resolutionint, default: 50

Set the number of points in the latitude direction.

lon_resolutionint, default: 100

Set the number of points in the longitude direction.

Returns:
pyvista.PolyData

Mercury dataset.

See Also#

download_mercury_surface()

Download the surface of Mercury.

3D Earth and Celestial Bodies

Example plot of the solar system.