Invert image displayed by imshow in matplotlib
Use ax.invert_yaxis() to invert the y-axis, or ax.invert_xaxis() to invert the x-axis.
I wanted the imshow() function in matplotlib.pyplot to display images the opposite way, i.e upside down. Is there a simple way to do this?