@@ -1579,24 +1579,20 @@ def set_aspect(self, aspect, adjustable=None, anchor=None, share=False):
1579
1579
1580
1580
Parameters
1581
1581
----------
1582
- aspect : {'auto'} or num
1582
+ aspect : {'auto', 'equal' } or float
1583
1583
Possible values:
1584
1584
1585
- ======== =================================================
1586
- value description
1587
- ======== =================================================
1588
- 'auto' automatic; fill the position rectangle with data.
1589
- num a circle will be stretched such that the height
1590
- is *num* times the width. 'equal' is a synonym
1591
- for ``aspect=1``, i.e. same scaling for x and y.
1592
- ======== =================================================
1585
+ - 'auto': fill the position rectangle with data.
1586
+ - 'equal': same as ``aspect=1``, i.e. same scaling for x and y.
1587
+ - *float*: A circle will be stretched such that the height
1588
+ is *float* times the width.
1593
1589
1594
1590
adjustable : None or {'box', 'datalim'}, optional
1595
1591
If not ``None``, this defines which parameter will be adjusted to
1596
1592
meet the required aspect. See `.set_adjustable` for further
1597
1593
details.
1598
1594
1599
- anchor : None or str or 2-tuple of float, optional
1595
+ anchor : None or str or (float, float) , optional
1600
1596
If not ``None``, this defines where the Axes will be drawn if there
1601
1597
is extra space due to aspect constraints. The most common way to
1602
1598
to specify the anchor are abbreviations of cardinal directions:
0 commit comments