code: def _basis2name(basis):
      
  
      component_name = (
          'DC' if basis == 'diffmap'
          else 'tSNE' if basis == 'tsne'
          else 'UMAP' if basis == 'umap'
          else 'PC' if basis == 'pca'
          else basis.replace('draw_graph_', '').upper() if 'draw_graph' in basis
          else basis)
      return component_name
docs: converts the 'basis' into the proper name.