0

im trying to set all the right nodes to a list of colors and the left nodes to other colors, i mean all left nodes should be a colors of ARRAYCOLORS1 and right nodes ARRAYCOLORS2. I know i can set the nodes colors with sankey.node.colors but my data is variable, so i cant predict the colors to put it into array. I want something like this A->ARRAYCOLORS1[0] X->ARRAYCOLORS2[0] B->ARRAYCOLORS1[1] Y->ARRAYCOLORS2[1] C->ARRAYCOLORS1[2] D->ARRAYCOLORS1[3]

AgusSn
  • 9
  • 2

0 Answers0