def METHOD_NAME(self, gc):
    """Generates the labels for tick marks.
    Overrides PlotAxis.
    """
    try:
        self.ticklabel_cache = []
        for text in self._tick_label_list:
            ticklabel = Label(
                text=text,
                font=self.tick_label_font,
                color=self.tick_label_color,
                rotate_angle=self.label_rotation,
            )
            self.ticklabel_cache.append(ticklabel)
        self._tick_label_bounding_boxes = [
            array(ticklabel.get_bounding_box(gc), float64)
            for ticklabel in self.ticklabel_cache
        ]
    except:
        print_exc()