pratikm pratikm - 2 years ago 210
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download