IndexError: ‘list index out of range’ is a Python error that occurs when attempting to access a list item outside the range of the list. In Python, list indexes ...
Trying to use the graphviz layout pos=nx.graphviz_layout(G, prog='dot') with Python 3 gives an IndexError: list index out of range.