def _basis2name(basis):
    """
    converts the 'basis' into the proper name.
    """
    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
