clean root2matplotlib