matplotlib.axes.Axes.get_xticklines

Axes.get_xticklines(self, minor=False)

Return the xaxis' tick lines as a list of Line2Ds.

Examples using matplotlib.axes.Axes.get_xticklines