def METHOD_NAME(self, gc):
    """Generate the Label instances for the plot. """
    self._label_cache = [
        Label(
            text=text,
            font=self.text_font,
            color=self.text_color,
            rotate_angle=self.text_rotate_angle,
            margin=self.text_margin,
        )
        for text in self.text.get_data()
    ]
    self._label_box_cache = [
        array(label.get_bounding_box(gc), float)
        for label in self._label_cache
    ]
    self._label_cache_valid = True