Return this Axis' 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-objects`.
(self, minor=False)
| 1652 | return cbook.silent_list('Line2D ticklines', lines) |
| 1653 | |
| 1654 | def get_ticklines(self, minor=False): |
| 1655 | """ |
| 1656 | Return this Axis' tick lines as a list of `.Line2D`. |
| 1657 | |
| 1658 | .. warning:: |
| 1659 | |
| 1660 | Ticks and their constituent parts, including tick lines, are not |
| 1661 | persistent. Various operations can create, delete, and modify the tick |
| 1662 | instances; see :ref:`axes-tick-objects`. |
| 1663 | |
| 1664 | You should generally use `.Axis.set_tick_params` / `.Axis.get_tick_params` |
| 1665 | to define and query tick styling; see :ref:`axes-ticks-styling`. |
| 1666 | """ |
| 1667 | if minor: |
| 1668 | return self.get_minorticklines() |
| 1669 | return self.get_majorticklines() |
| 1670 | |
| 1671 | def get_majorticklocs(self): |
| 1672 | """Return this Axis' major tick locations in data coordinates.""" |
no test coverage detected