Return this Axis' minor tick labels, as a list of `~.text.Text`. .. warning:: Ticks and their constituent parts, including tick labels, are not persistent. Various operations can create, delete, and modify the tick instances; see :ref:`axes-tick
(self)
| 1553 | return labels1 + labels2 |
| 1554 | |
| 1555 | def get_minorticklabels(self): |
| 1556 | """ |
| 1557 | Return this Axis' minor tick labels, as a list of `~.text.Text`. |
| 1558 | |
| 1559 | .. warning:: |
| 1560 | |
| 1561 | Ticks and their constituent parts, including tick labels, are not |
| 1562 | persistent. Various operations can create, delete, and modify the tick |
| 1563 | instances; see :ref:`axes-tick-objects`. |
| 1564 | |
| 1565 | You should generally use `.Axis.set_tick_params` / `.Axis.get_tick_params` |
| 1566 | to define and query tick styling; see :ref:`axes-ticks-styling`. |
| 1567 | """ |
| 1568 | self._update_ticks() |
| 1569 | ticks = self.get_minor_ticks() |
| 1570 | labels1 = [tick.label1 for tick in ticks if tick.label1.get_visible()] |
| 1571 | labels2 = [tick.label2 for tick in ticks if tick.label2.get_visible()] |
| 1572 | return labels1 + labels2 |
| 1573 | |
| 1574 | def get_ticklabels(self, minor=False, which=None): |
| 1575 | """ |