A RetroSearch Logo

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

Search Query:

Showing content from https://matplotlib.org/devdocs/devel/../api/_as_gen/matplotlib.axes.Axes.autoscale.html below:

matplotlib.axes.Axes.autoscale — Matplotlib 3.11.0.dev1077+g30f4ece3f5 documentation

matplotlib.axes.Axes.autoscale#
Axes.autoscale(enable=True, axis='both', tight=None)[source]#

Autoscale the axis view to the data (toggle).

Convenience method for simple axis view autoscaling. It turns autoscaling on or off, and then, if autoscaling for either axis is on, it performs the autoscaling on the specified axis or Axes.

Parameters:
enablebool or None, default: True

True turns autoscaling on, False turns it off. None leaves the autoscaling state unchanged.

axis{'both', 'x', 'y'}, default: 'both'

The axis on which to operate. (For 3D Axes, axis can also be set to 'z', and 'both' refers to all three Axes.)

tightbool or None, default: None

If True, first set the margins to zero. Then, this argument is forwarded to autoscale_view (regardless of its value); see the description of its behavior there.

Examples using matplotlib.axes.Axes.autoscale#

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