Matplotlib imshow() orientation
In imshow(), the second index is aligned with the “x” axis. And [0,0] is in the upper left. So both `origin=”lower”’ and a transpose are needed in most cases to align [i,j] with [x,y].
In imshow(), the second index is aligned with the “x” axis. And [0,0] is in the upper left. So both `origin=”lower”’ and a transpose are needed in most cases to align [i,j] with [x,y].