8000 Clarify effect of axis(equal) on explicit data limits · matplotlib/matplotlib@fc0a8a7 · GitHub
[go: up one dir, main page]

Skip to content

Commit fc0a8a7

Browse files
committed
Clarify effect of axis(equal) on explicit data limits
1 parent 49cec86 commit fc0a8a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/matplotlib/axes/_base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1577,7 +1577,9 @@ def axis(self, *args, emit=True, **kwargs):
15771577
'on' Turn on axis lines and labels. Same as ``True``.
15781578
'off' Turn off axis lines and labels. Same as ``False``.
15791579
'equal' Set equal scaling (i.e., make circles circular) by
1580-
changing axis limits.
1580+
changing axis limits. This is the same as
1581+
``ax.set_aspect('equal', adjustable='datalim')``.
1582+
Explicit data limits may not be respected in this case.
15811583
'scaled' Set equal scaling (i.e., make circles circular) by
15821584
changing dimensions of the plot box, then disable further
15831585
autoscaling.

0 commit comments

Comments
 (0)
0