grapa.scripts.script_correlations.colorize_graph

grapa.scripts.script_correlations.colorize_graph(graph, idx_pattern, pvals)

Colorize a graph based on parameter values. Modifies object graph for 2D parameter sweeps: colorize in sweeps in hls colorspace, with

  • hue between 0 and 1 according to the first parameter, starting with red, with additional small increment according to 2nd parameter,

  • luminance from 0.25 to 0.75 according to the second parameter