Fix the flip x-y direction in greedy2D plots