# Examples from pyvista.examples.downloads.download_stars_cloud_hyg
# =================================================================

# Download and plot a point cloud of stars within 3,000 light years. Stars
# are colored according to their RGBA colors.
import numpy as np
from pyvista import examples
stars = examples.download_stars_cloud_hyg()
stars.plot(
    style='points_gaussian',
    background='k',
    point_size=0.5,
    scalars='_rgba',
    render_points_as_spheres=False,
    zoom=3.0,
)

stars

# SEE ALSO:
#     Stars Cloud Hyg Dataset https://docs.pyvista.org/api/examples/dataset_gallery.html#stars-cloud-hyg-dataset
#     See this dataset in the Dataset Gallery for more info.
#     Plotting Point Clouds https://docs.pyvista.org/examples/02-plot/point_clouds.html#point-clouds-example
#     More details on how to plot point clouds.

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

