Convert plots.py to print functions
tmp