replaced tabs with 4 spaces in plot.py
more tabs replaced with 4 spaces in fit