Fix x, y order with numpy.mgrid usage
Merge pull request #2121 from cdeil/axis_order

Fix x, y order with numpy.mgrid usage