class mpl_toolkits.axisartist.axis_artist.LabelBase(*args, **kwargs)
[source]
Bases: matplotlib.text.Text
A base class for AxisLabel and TickLabels. The position and angle of the text are calculated by to offset_ref_angle, text_ref_angle, and offset_radius attributes.
get_window_extent(self, renderer)
[source]
Return the Bbox
bounding the text, in display units.
In addition to being used internally, this is useful for specifying clickable regions in a png file on a web page.
Parameters: |
|
---|
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/mpl_toolkits.axisartist.axis_artist.LabelBase.html