reverse y-axis in pyplot,plt.gca().invert_yaxis()