mpl_toolkits.mplot3d.axes3d.Axes3D.set_aspect
- Axes3D.set_aspect(aspect, adjustable=None, anchor=<deprecated parameter>, share=<deprecated parameter>)
Set the aspect ratios.
- Parameters:
- aspect{'auto', 'equal', 'equalxy', 'equalxz', 'equalyz'}
Set the aspect ratios.
Possible values:
value | description |
|---|---|
'auto' | automatic; fill the position rectangle with data. |
'equal' | adapt all the axes to have equal aspect ratios. |
'equalxy' | adapt the x and y axes to have equal aspect ratios. |
'equalxz' | adapt the x and z axes to have equal aspect ratios. |
'equalyz' | adapt the y and z axes to have equal aspect ratios. |
Defines which parameter to adjust to meet the aspect ratio.
'box': Change the physical dimensions of the axes bounding box.
'datalim': Change the x, y, or z data limits.
mpl_toolkits.mplot3d.axes3d.Axes3D.set_aspect