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_box_aspect.html below:

matplotlib.axes.Axes.set_box_aspect — Matplotlib 3.10.5 documentation

matplotlib.axes.Axes.set_box_aspect#
Axes.set_box_aspect(aspect=None)[source]#

Set the Axes box aspect, i.e. the ratio of height to width.

This defines the aspect of the Axes in figure space and is not to be confused with the data aspect (see set_aspect).

Parameters:
aspectfloat or None

Changes the physical dimensions of the Axes, such that the ratio of the Axes height to the Axes width in physical units is equal to aspect. Defining a box aspect will change the adjustable property to 'datalim' (see set_adjustable).

None will disable a fixed box aspect so that height and width of the Axes are chosen independently.

Examples using matplotlib.axes.Axes.set_box_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