pratikm pratikm - 1 year ago 139
Python Question

Invert image displayed by imshow in matplotlib

I wanted the

function in
to display images the opposite way, i.e upside down. Is there a simple way to do this?

wim wim
Answer Source

Specify the keyword argument origin='lower' or origin='upper' in your call to imshow.