matplotlib.axes.Axes.get_yaxis_transform#
- Axes.get_yaxis_transform(which='grid')[source]#
Get the transformation used for drawing y-axis labels, ticksand gridlines. The x-direction is in axis coordinates and they-direction is in data coordinates.
Note
This transformation is primarily used by the
Axisclass, and is meant to beoverridden by new kinds of projections that may need toplace axis elements in different locations.- Parameters:
- which{'grid', 'tick1', 'tick2'}
Examples usingmatplotlib.axes.Axes.get_yaxis_transform#
On this page