plots.py duplicated from bigdata