Set the aspect ratio of the Axes scaling, i.e. y/x-scale.
Possible values:
'auto': fill the position rectangle with data.
'equal': same as aspect=1
, i.e. same scaling for x and y.
float: The displayed size of 1 unit in y-data coordinates will be aspect times the displayed size of 1 unit in x-data coordinates; e.g. for aspect=2
a square in data coordinates will be rendered with a height of twice its width.
If not None
, this defines which parameter will be adjusted to meet the required aspect. See set_adjustable
for further details.
If not None
, this defines where the Axes will be drawn if there is extra space due to aspect constraints. The most common way to specify the anchor are abbreviations of cardinal directions:
See set_anchor
for further details.
If True
, apply the settings to all shared Axes.
matplotlib.axes.Axes.set_aspect
#
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4