create a plotting.py file in statstools