Axes3D.set_proj_type(proj_type, focal_length=None)[source]#

Set the projection type.

proj_type{'persp', 'ortho'}

The projection type.

focal_lengthfloat, default: None

For a projection type of 'persp', the focal length of the virtual camera. Must be > 0. If None, defaults to 1. The focal length can be computed from a desired Field Of View via the equation: focal_length = 1/tan(FOV/2)