test_KGML_graphics.py: Added format string for RST, and pep8 compliance changes