got rid of callbacks in plotting code since they are no longer used