finish plot.py