def set_ytick_labels(self, labels, style=None):
        """Set tick labels for the y-axis.

        Also set the y-ticks positions to ensure the labels end up on
        the correct place.

        :param labels: list of labels for the ticks along the axis.

        """
        self.ticks['ylabels'] = labels
        self.ticks['ylabel_style'] = style