[ Web Proxy ]
URL:
Viewing: https://matplotlib.org/stable/api/_as_gen/../_as_gen/matplotlib.axes.Axes.get_xaxis_transform.html [Back]  [Original]

matplotlib.axes.Axes.get_xaxis_transform — Matplotlib 3.11.2 documentation
Back to top
Search the docs ...:

matplotlib.axes.Axes.get_xaxis_transform#

Axes.get_xaxis_transform(which='grid')[source]#

Get the transformation used for drawing x-axis labels, ticks and gridlines. The x-direction is in data coordinates and the y-direction is in axis coordinates.

Note

This transformation is primarily used by the Axis class, and is meant to be overridden by new kinds of projections that may need to place axis elements in different locations.

Parameters:
which{'grid', 'tick1', 'tick2'}

Examples using matplotlib.axes.Axes.get_xaxis_transform#

[]

Fill the area between two lines

Fill the area between two lines
[]

hlines and vlines

hlines and vlines
[]

Boxplots

Boxplots
[]

Centered spines with arrows

Centered spines with arrows
[]

Scale invariant angle label

Scale invariant angle label

Web Proxy Viewer  |  New URL  |  Original Page