Skip to content

Commit 7cde8de

Browse files
committed
DOC: clearify and simplify docstring
1 parent 8e6e83c commit 7cde8de

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

+4-8
Original file line numberDiff line numberDiff line change
@@ -362,15 +362,11 @@ def set_box_aspect(self, aspect, *, zoom=1):
362362
363363
Parameters
364364
----------
365-
aspect : 3-tuple of floats on None
366-
Changes the physical dimensions of the Axes, such that the ratio
367-
of the size of the axis in physical units is x:y:z
365+
aspect : 3-tuple of floats or None
366+
Changes the physical dimensions of the Axes3D, such that the ratio
367+
of the axis lengths in physical units is x:y:z.
368368
369-
The input will be normalized to a unit vector.
370-
371-
If None, it is approximately ::
372-
373-
ax.set_box_aspect(aspect=(4, 4, 3), zoom=1)
369+
If None, defaults to 4:4:3
374370
375371
zoom : float
376372
Control overall size of the Axes3D in the figure.

0 commit comments

Comments
 (0)