mirror y axis matplotlib code example
Example 1: flip pyplot python
plt.gca().invert_yaxis()
plt.gca().invert_xaxis()
Example 2: invert y axis python
plt.gca().invert_yaxis()
plt.gca().invert_yaxis()
plt.gca().invert_xaxis()
plt.gca().invert_yaxis()