'Draw the ticks.'

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)
        self._draw_ticks(renderer, self.minor_pixel, self.minor_angle, offset)
