single_cell_parser
❭ writer
❭ value_to_color
value_to_color¶
-
single_cell_parser.writer.value_to_color(v, vmin=
0
, vmax=1
)¶ Map a value to a color.
See: https://stackoverflow.com/questions/15140072/how-to-map-number-to-color-using-matplotlibs-colormap