code: def _label_suffix(label, suffix):
      
      if len(label) > 50:
          nhead = 25
          return ''.join([label[:nhead], '..', suffix])
      else:
          return label + suffix
docs: Returns (label + suffix) or a truncated version if it's too long.
      Parameters
      ----------
      label : str
          Label name
      suffix : str
          Label suffix