mpl_toolkits.mplot3d.axes3d.Axes3D.autoscale#

Axes3D.autoscale(enable=True, axis='both', tight=None)[source]#

Convenience method for simple axis view autoscaling.

See Axes.autoscale for full documentation. Because this function applies to 3D Axes, axis can also be set to 'z', and setting axis to 'both' autoscales all three axes.