# Examples from pyvista.Transform.rotate_y
# ========================================

# Compose a rotation about the y-axis.
import pyvista as pv
transform = pv.Transform().rotate_y(90)
transform.matrix

# Compose a second rotation about the y-axis.
_ = transform.rotate_y(45)

# The result is a matrix that rotates about the y-axis by 135 degrees.
transform.matrix

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

