matplotlib.axes.Axes.get_xaxis_text2_transform#
- Axes.get_xaxis_text2_transform(pad_points)[source]#
- Returns:
- transformTransform
The transform used for drawing secondary x-axis labels, which willaddpad_points of padding (in points) between the axis and thelabel. The x-direction is in data coordinates and the y-directionis in axis coordinates
- valign{'center', 'top', 'bottom', 'baseline', 'center_baseline'}
The text vertical alignment.
- halign{'center', 'left', 'right'}
The text horizontal alignment.
Notes
This transformation is primarily used by the
Axisclass, and is meant to be overridden by new kinds of projections thatmay need to place axis elements in different locations.
On this page