code: def yticktext(self, labels, index=1):
          
          self.layout['yaxis' + str(index)]['ticktext'] = labels
          return self
docs: Set the tick labels.
  
          Parameters
          ----------
          labels : array-like
  
          Returns
          -------
          Chart