remove reliance on numpy
plotting