Axes.get_xaxis_transform(self, which='grid')
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.
matplotlib.axes.Axes.get_xaxis_transform
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.axes.Axes.get_xaxis_transform.html