ABSTRACTION: removed plotting code from cv.py