title: Flip/invert axis labels in matplotlib?
body: <p>What I want to do, is to both rotate and flip axis labels on a matplotlib plot - consider this example:</p>
  
  <pre class="lang-python prettyprint-override"><code>#!/usr/bin/python3
  # -*- coding: utf-8 -*-
  
  import matplotlib
  import matplotlib.pyplot as plt
  
  default_size_inch = (9, 6)
  
  x1 = [0,1] ; y1 = [0,100]
  
  fig = plt.figure(figsize=default_size_inch, dpi=120)
  ax1 = fig.add_subplot()
  
  ax1.plot(x1, y1, color="Red")
  ax1.set(xlabel='X label', ylabel='Y label')
  
  plt.show()
  
  </code></pre>
  
  <p>This plots:</p>
  
  <p><a href="https://i.stack.imgur.com/9sSMM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9sSMM.png" alt="figure1"></a></p>
  
  <p>However, what I want to get is this (the picture was manually edited in Gimp):</p>
  
  <p><a href="https://i.stack.imgur.com/Tmu9c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Tmu9c.png" alt="figure2"></a></p>
  
  <p>Rotation is already discussed in e.g. <a href="https://stackoverflow.com/questions/10998621/rotate-axis-text-in-python-matplotlib">Rotate axis text in python matplotlib</a> - but is it possible to do an invert/flip, and if so, how (and would the rotate+flip be preserved when zooming)?</p>