yt.visualization.volume_rendering.camera.Camera.pitch

Camera.pitch(theta)[source]

Rotate by a given angle about the horizontal axis

Pitch the view.

Parameters:

theta : float, in radians

Angle (in radians) by which to pitch the view.

Examples

>>> cam.pitch(np.pi/4)