title: Matplotlib legend vertical rotation
body: <p>Does someone perhaps know if it is possible to rotate a legend on a plot in <code>matplotlib</code>? I made a simple plot with the below code, and edited the graph in paint to show what I want.</p>
  
  <pre><code>plt.plot([4,5,6], label = 'test')
  ax = plt.gca()
  ax.legend()
  plt.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/FqCgO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FqCgO.png" alt="http://www.abraham.dreamhosters.com/Capture.PNG"></a></p>