# Examples from pyvista.Plotter.get_image_depth
# =============================================

import pyvista as pv
pl = pv.Plotter()
actor = pl.add_mesh(pv.Sphere())
pl.show(store_image_depth=True)

zval = pl.get_image_depth()

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

