# Examples from pyvista.Plotter.where_is
# ======================================

import pyvista as pv
pl = pv.Plotter(shape=(2, 2))
pl.subplot(0, 0)
_ = pl.add_mesh(pv.Box(), name='box')
pl.subplot(0, 1)
_ = pl.add_mesh(pv.Sphere(), name='sphere')
pl.subplot(1, 0)
_ = pl.add_mesh(pv.Box(), name='box')
pl.subplot(1, 1)
_ = pl.add_mesh(pv.Cone(), name='cone')
pl.where_is('box')

pl.show()

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

