download_milkyway_sky_background#
- download_milkyway_sky_background( ) Texture | ImageData | str[source]#
Download the sky texture of the Milky Way galaxy.
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 Milky Way sky image as a background image.
>>> from pyvista import examples
>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> image_path = examples.planets.download_milkyway_sky_background(load=False)
>>> pl.add_background_image(image_path)
>>> pl.show()
See also
- Milkyway Sky Background Dataset
See this dataset in the Dataset Gallery for more info.
- Stars Sky Background Dataset
Night sky stars texture.
- 3D Earth and Celestial Bodies
Example plot of the solar system.