mpl_toolkits.mplot3d.axes3d.Axes3D.margins#

Axes3D.margins(*margins, x=None, y=None, z=None, tight=True)[source]#

Set or retrieve autoscaling margins.

See Axes.margins for full documentation. Because this function applies to 3D Axes, it also takes a z argument, and returns (xmargin, ymargin, zmargin).