mpl_toolkits.mplot3d.axes3d.Axes3D.set_zbound#

Axes3D.set_zbound(lower=None, upper=None, view_margin=None)[source]#

Set the lower and upper numerical bounds of the z-axis. This method will honor axis inversion regardless of parameter order. It will not change the autoscaling setting (get_autoscaley_on()).

Parameters:
lower, upperfloat or None

The lower and upper bounds. If None, the respective axis bound is not modified.

view_marginfloat or None

The margin to apply to the bounds. If None, the margin is handled by set_zlim.