# 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

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