def METHOD_NAME(self, renderer):
    """
    Draw the ticks.
    """
    self.ticks_locs = defaultdict(list)
    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 = renderer.points_to_pixels(self.get_minor_ticksize())
        self._draw_ticks(renderer, self.minor_pixel, self.minor_angle, offset)