I was trying to plot some data with scatter. My code is
import matplotlib.pyplot as plt import matplotlib as mpl import numpy as np from scipy.interpolate import
It's not inverted, just flipped. The origin for imshow default to the upper left rather than the lower left. imshow has a parameter to specify the origin, it's named origin. Alternatively you can set the default in your matplotlib.conf.
imshow
matplotlib.conf