@@ -1780,28 +1780,21 @@ def set_anchor(self, anchor, share=False):
17801780
17811781 Parameters
17821782 ----------
1783- anchor : 2-tuple of floats or {'C', 'SW', 'S', 'SE', ...}
1784- The anchor position may be either:
1785-
1786- - a sequence (*cx*, *cy*). *cx* and *cy* may range from 0
1787- to 1, where 0 is left or bottom and 1 is right or top.
1788-
1789- - a string using cardinal directions as abbreviation:
1790-
1791- - 'C' for centered
1792- - 'S' (south) for bottom-center
1793- - 'SW' (south west) for bottom-left
1794- - etc.
1795-
1796- Here is an overview of the possible positions:
1797-
1798- +------+------+------+
1799- | 'NW' | 'N' | 'NE' |
1800- +------+------+------+
1801- | 'W' | 'C' | 'E' |
1802- +------+------+------+
1803- | 'SW' | 'S' | 'SE' |
1804- +------+------+------+
1783+ anchor : (float, float) or {'C', 'SW', 'S', 'SE', 'E', 'NE', ...}
1784+ Either an (*x*, *y*) pair of relative coordinates (0 is left or
1785+ bottom, 1 is right or top), 'C' (center), or a cardinal direction
1786+ ('SW', southwest, is bottom left, etc.). str inputs are shorthands
1787+ for (*x*, *y*) coordinates, as shown in the following table::
1788+
1789+ .. code-block:: none
1790+
1791+ +-----------------+-----------------+-----------------+
1792+ | 'NW' (0.0, 1.0) | 'N' (0.5, 1.0) | 'NE' (1.0, 1.0) |
1793+ +-----------------+-----------------+-----------------+
1794+ | 'W' (0.0, 0.5) | 'C' (0.5, 0.5) | 'E' (1.0, 0.5) |
1795+ +-----------------+-----------------+-----------------+
1796+ | 'SW' (0.0, 0.0) | 'S' (0.5, 0.0) | 'SE' (1.0, 0.0) |
1797+ +-----------------+-----------------+-----------------+
18051798
18061799 share : bool, default: False
18071800 If ``True``, apply the settings to all shared Axes.
0 commit comments