move plotting functions to plots.py