`); Plot typesUser guideTutorialsExamplesReferenceContributeReleases GitterGitter DiscourseDiscourse GitHubGitHubPlot typesUser guideTutorialsExamplesReferenceContributeReleases GitterGitter DiscourseDiscourse GitHubGitHubSection Navigationmatplotlib.axes.Axesmatplotlib.axes.Axes.viewLimmatplotlib.axes.Axes.dataLimmatplotlib.axes.Axes.spinesmatplotlib.axes.Axes.plotmatplotlib.axes.Axes.errorbarmatplotlib.axes.Axes.scatt..." /> `); Plot typesUser guideTutorialsExamplesReferenceContributeReleases GitterGitter DiscourseDiscourse GitHubGitHubPlot typesUser guideTutorialsExamplesReferenceContributeReleases GitterGitter DiscourseDiscourse GitHubGitHubSection Navigationmatplotlib.axes.Axesmatplotlib.axes.Axes.viewLimmatplotlib.axes.Axes.dataLimmatplotlib.axes.Axes.spinesmatplotlib.axes.Axes.plotmatplotlib.axes.Axes.errorbarmatplotlib.axes.Axes.scatt..." />
matplotlib.axes.Axes.get_yaxis_text2_transform — Matplotlib 3.11.0.dev841+g759765c433 documentation
Back to top
matplotlib.axes.Axes.get_yaxis_text2_transform
Axes. get_yaxis_text2_transform ( pad_points ) [source]
Returns:
transform Transform The transform used for drawing secondary y-axis labels, which will
add pad_points of padding (in points) between the axis and the
label. The x-direction is in axis coordinates and the y-direction
is in data 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 Axis
class, and is meant to be overridden by new kinds of projections that
may need to place axis elements in different locations.