python plot values inverse on y axis code example Example: invert y axis python plt.gca().invert_yaxis()