From 3c3a8f54f57a33588046b23a8014822c295a02e5 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson Date: Thu, 15 Dec 2022 18:24:27 +0100 Subject: [PATCH] Backport PR #24735: Correct note about aspect --- lib/mpl_toolkits/mplot3d/axes3d.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/mpl_toolkits/mplot3d/axes3d.py b/lib/mpl_toolkits/mplot3d/axes3d.py index 533901ac64da..d82247f95df3 100644 --- a/lib/mpl_toolkits/mplot3d/axes3d.py +++ b/lib/mpl_toolkits/mplot3d/axes3d.py @@ -361,9 +361,8 @@ def set_box_aspect(self, aspect, *, zoom=1): The box aspect is the ratio of height to width in display units for each face of the box when viewed perpendicular to - that face. This is not to be confused with the data aspect - (which for Axes3D is always 'auto'). The default ratios are - 4:4:3 (x:y:z). + that face. This is not to be confused with the data aspect (see + `~.Axes3D.set_aspect`). The default ratios are 4:4:3 (x:y:z). To simulate having equal aspect in data space, set the box aspect to match your data range in each dimension.