download_stars_sky_background#
- download_stars_sky_background( ) Texture | ImageData | str[source]#
Download the night sky stars texture.
Textures obtained from tamaskis/planet3D-MATLAB.
- Parameters:
- Returns:
- output
pyvista.DataSet|pyvista.Texture|str Texture, Dataset, or path to the file depending on the
loadandtextureparameters.
- output
Examples#
Download Python source code | Download Jupyter notebook
Load the night sky image as a background image.
>>> from pyvista import examples
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> image_path = examples.planets.download_stars_sky_background(load=False)
>>> pl.add_background_image(image_path)
>>> pl.show()
See Also#
- Stars Sky Background Dataset
See this dataset in the Dataset Gallery for more info.
load_planet()Load a planet as a sphere with texture coordinates.
- Milkyway Sky Background Dataset
Sky texture of the Milky Way galaxy.
- 3D Earth and Celestial Bodies
Example plot of the solar system.
Used In#
Docstring Examples
download_jupiter_surface(1 use)download_mars_surface(1 use)download_mercury_surface(1 use)download_moon_surface(1 use)download_neptune_surface(1 use)8 more
download_pluto_surface(1 use)download_saturn_rings(1 use)download_saturn_surface(1 use)download_sun_surface(1 use)download_uranus_surface(1 use)download_venus_surface(1 use)load_planet(1 use)load_planet_rings(1 use)