docs: def labels(self, text=None, coordinates=None, colorlist=None, sizes=None, fonts=None, opacity=1.0):
          '''Display atomic labels for the system'''
          if coordinates is None:
              coordinates=self.coordinates
          l=len(coordinates)
          if text is None:
              if len(self.topology.get('atom_types'))==l:
                  text=[self.topology['atom_types'][i]+str(i+1) for i in range(l)]
              else:
                  text=[str(i+1) for i in range(l)]
  
          text_representation = self.add_representation('text', {'coordinates':   coordinates,
                                                                 'text':        text,
                                                                 'colors':      colorlist,
                                                                 'sizes':       sizes,
                                                                 'fonts':       fonts,
                                                                 'opacity':     opacity})
          def update(self=self, text_representation=text_representation):
              self.update_representation(text_representation, {'coordinates': coordinates})
  
          self.update_callbacks.append(update)