removing pdf plots