pyvista.examples.planets.download_sun_surface#
- download_sun_surface(texture=False, load=True)[source]#
Download the surface of the Sun.
Textures obtained from Solar Textures.
- Parameters:
- Returns:
pyvista.DataSet
|pyvista.Texture
|str
Texture, Dataset, or path to the file depending on the
load
andtexture
parameters.
Examples
>>> from pyvista import examples >>> texture = examples.planets.download_sun_surface(texture=True) >>> texture.plot(zoom='tight', show_axes=False)
See also
- Sun Surface Dataset
See this dataset in the Dataset Gallery for more info.
load_sun()
Load the Sun as a textured sphere.
- 3D Earth and Celestial Bodies
Example plot of the solar system.