Hi Paul, From how I understand things, you can get the used colors this way:
from graph_tool.all import *
num_blocks = 14
for i in range(0, num_blocks):
j = int(i*(255/num_blocks-1))
print(default_cm(j))
Here ``num_blocks`` is the number of colors that are needed (in a celegans
case: 14).
Is this correct, Tiago or others?
Haiko
_______________________________________________ graph-tool mailing list [email protected] https://lists.skewed.de/mailman/listinfo/graph-tool
