A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://matplotlib.org/api/_as_gen/matplotlib.axes.Axes.set_adjustable.html below:

matplotlib.axes.Axes.set_adjustable — Matplotlib 3.10.5 documentation

matplotlib.axes.Axes.set_adjustable#
Axes.set_adjustable(adjustable, share=False)[source]#

Set how the Axes adjusts to achieve the required aspect ratio.

Parameters:
adjustable{'box', 'datalim'}

If 'box', change the physical dimensions of the Axes. If 'datalim', change the x or y data limits. This may ignore explicitly defined axis limits.

sharebool, default: False

If True, apply the settings to all shared Axes.

Notes

Shared Axes (of which twinned Axes are a special case) impose restrictions on how aspect ratios can be imposed. For twinned Axes, use 'datalim'. For Axes that share both x and y, use 'box'. Otherwise, either 'datalim' or 'box' may be used. These limitations are partly a requirement to avoid over-specification, and partly a result of the particular implementation we are currently using, in which the adjustments for aspect ratios are done sequentially and independently on each Axes as it is drawn.

Examples using matplotlib.axes.Axes.set_adjustable#

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