1 | initial version |
With your code, I get this output:
If I make two changes — namely, changing the definition of affinites
to use for i in range(0,6)
and changing the definition of list_collab2
to use for x in list_collab
— then I get this:
It is not clear what you are hoping to get, but the second version certainly looks better than the first one.