convert indents to 4 spaces in gfx.py

indents were previously 8 spaces