tomodrgn.analysis.get_colors_matplotlib#

get_colors_matplotlib(num_colors: int, cmap: Colormap | str | None = None) list[tuple[float, float, float, float]][source]#

Sample num_colors colors from the specified color map as RGBA tuples

Parameters:
Returns:

list of RGBA tuples for each color sampled from the color map.