Return the text size of tick labels for this Axis. This is a convenience function to avoid having to create a `Tick` in `.get_tick_space`, since it is expensive.
(self, axis_name)
| 1740 | return self._tick_class(self.axes, 0, major=major, **tick_kw) |
| 1741 | |
| 1742 | def _get_tick_label_size(self, axis_name): |
| 1743 | """ |
| 1744 | Return the text size of tick labels for this Axis. |
| 1745 | |
| 1746 | This is a convenience function to avoid having to create a `Tick` in |
| 1747 | `.get_tick_space`, since it is expensive. |
| 1748 | """ |
| 1749 | tick_kw = self._major_tick_kw |
| 1750 | size = tick_kw.get('labelsize', |
| 1751 | mpl.rcParams[f'{axis_name}tick.labelsize']) |
| 1752 | return mtext.FontProperties(size=size).get_size_in_points() |
| 1753 | |
| 1754 | def _copy_tick_props(self, src, dest): |
| 1755 | """Copy the properties from *src* tick to *dest* tick.""" |