Version 2.2.2
matplotlib

mpl_toolkits.mplot3d.art3d.norm_angle

mpl_toolkits.mplot3d.art3d.norm_angle(a)

Return angle between -180 and +180