def draw(self, renderer):

        if not self.get_visible():
            return

        offset = renderer.points_to_pixels(self.get_ticksize())
        self._draw_ticks(renderer, self.pixel, self.angle, offset)
        if self._display_minor_ticks:
            offset = offset * 0.5  # for minor ticksize
            self._draw_ticks(renderer, self.minor_pixel, self.minor_angle, offset)
Draw the ticks.
dataset/ETHPy150Open glue-viz/glue/glue/external/wcsaxes/ticks.py/Ticks.draw