code: def set_ytick_labels(self, labels, style=None):
          
          self.ticks['ylabels'] = labels
          self.ticks['ylabel_style'] = style
docs: 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.