make Add Plot work in test_view