Return this Axis' minor tick lines as a list of `.Line2D`. .. warning:: Ticks and their constituent parts, including tick lines, are not persistent. Various operations can create, delete, and modify the tick instances; see :ref:`axes-tick-object
(self)
| 1632 | return cbook.silent_list('Line2D ticklines', lines) |
| 1633 | |
| 1634 | def get_minorticklines(self): |
| 1635 | """ |
| 1636 | Return this Axis' minor tick lines as a list of `.Line2D`. |
| 1637 | |
| 1638 | .. warning:: |
| 1639 | |
| 1640 | Ticks and their constituent parts, including tick lines, are not |
| 1641 | persistent. Various operations can create, delete, and modify the tick |
| 1642 | instances; see :ref:`axes-tick-objects`. |
| 1643 | |
| 1644 | You should generally use `.Axis.set_tick_params` / `.Axis.get_tick_params` |
| 1645 | to define and query tick styling; see :ref:`axes-ticks-styling`. |
| 1646 | """ |
| 1647 | lines = [] |
| 1648 | ticks = self.get_minor_ticks() |
| 1649 | for tick in ticks: |
| 1650 | lines.append(tick.tick1line) |
| 1651 | lines.append(tick.tick2line) |
| 1652 | return cbook.silent_list('Line2D ticklines', lines) |
| 1653 | |
| 1654 | def get_ticklines(self, minor=False): |
| 1655 | """ |