Fixed IndexError in graphics.py (which has no tests).
Fixed IndexError in graphics.py (which has no tests).

acorg/dark-matter,terrycojones/dark-matter,terrycojones/dark-matter,acorg/dark-matter,bamueh/dark-matter,bamueh/dark-matter