Make graphs in Python with igraph