You are reading an old version of the documentation (v2.2.3). For the latest version see https://matplotlib.org/stable/
Version 2.2.3
matplotlib
Fork me on GitHub

mpl_toolkits.mplot3d.art3d.zalpha

mpl_toolkits.mplot3d.art3d.zalpha(colors, zs)[source]

Modify the alphas of the color list according to depth