Ask Your Question

Revision history [back]

That is a bug.

I think the faulty lines of code are lines 665 to 671 in src/sage/graphs/graph_plot.py.

That is a bug. I think the faulty lines of code are

Fixing this is now tracked at


Edit. The ticket now has fix and positive review. Hopefully it will be part of the next Sage release.

If you installed Sage 9.2 or later from source or from binaries (rather than "via a package manager"), you can apply the fix to your current Sage installation by running the following commands in a terminal:

$ cd $(sage -c "print(SAGE_ROOT)")
$ git remote add trac git://trac.sagemath.org/sage.git -t develop
$ git checkout -b 31542
$ git pull trac u/chapoton/31542
$ git merge FETCH_HEAD -m "Merge 31542"
$ ./sage -b

Next time you start Sage, it should have the fix.

That is a bug. I think the faulty lines of code are

Fixing this is now tracked at


Edit. The ticket now has fix and positive review. Hopefully it will be part of the next Sage release.

If you installed Sage 9.2 or later from source or from binaries (rather than "via a package manager"), you can apply the fix to your current Sage installation by running the following commands in a terminal:

$ cd $(sage -c "print(SAGE_ROOT)")
$ git remote add trac git://trac.sagemath.org/sage.git -t develop
$ git checkout -b 31542
$ git pull trac u/chapoton/31542
$ git merge FETCH_HEAD -m "Merge 31542"
$ ./sage -b

Next time you start Sage, it should have the fix.

Correct plot of multiedge digraph