Skip to content

use an infinite cycle of colors when plotting site families

Joseph Weston requested to merge jbweston/kwant:bugfix/cycle into master

Previously if there were more site families than colours in the matplotlib cycle, then plotting would raise an exception. Now we cycle through the colours indefinitely.

Closes #257 (closed)

Merge request reports