tumourkit.postprocessing.draw_graph.get_colors

tumourkit.postprocessing.draw_graph.get_colors(type_info: Dict[str, Tuple[str, List[int]]]) List[str]

Retrieves a list of hexadecimal colors from a dictionary of RGB tuples.

Parameters:

type_info (Dict[str, Tuple[str, List[int]]]) – A dictionary containing type information as keys and RGB tuples as values.

Returns:

A list of hexadecimal colors converted from the RGB tuples.

Return type:

List[str]