Version 3.1.2
matplotlib
Fork me on GitHub

matplotlib.axis.YAxis.get_majorticklines

YAxis.get_majorticklines(self)

Return the major tick lines as a list of Line2D instances