using deep copy method for plotting to pix; cleaning out old code