DisconnectivityGraph.color_by_group(groups, colors=None)[source]

color the graph based on specified grouping of minima

Parameters :

groups : list

list of groups of minima that should have the same color


For each node, check all minima for which the node is a parent. If all minima are contained on one of the groups, the node will be coloured to represent that group. If any minimum is not contained on one of the groups, the node is not coloured. If all minima are contained in groups but more than one group is represented, the node will be the colour of the last group listed

Previous topic


Next topic