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

# Load the warping spheres and plot them.
from pyvista import examples
import pyvista as pv
partitioned = examples.download_warping_spheres()
cpos = pv.CameraPosition(
    position=(70.0, -70.0, 0.0),
    focal_point=(7.0, 7.0, 7.0),
    viewup=(0.0, 0.0, 1.0),
)
partitioned.plot(cpos=cpos)

# SEE ALSO:
#     Warping Spheres Dataset https://docs.pyvista.org/api/examples/dataset_gallery.html#warping-spheres-dataset
#     See this dataset in the Dataset Gallery for more info.

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

