changed tabs to spaces in plotpages.py