title: Matplotlib polar bar-plot legend
body: <p>I have some data from a questionnaire that provides answers in 6 "dimensions" (each answer represents a value from 0-4). I'm trying to plot the averages for each of the 6 "dimensions" in a polar bar graph.</p>
  
  <p>This is my code:</p>
  
  <pre><code>#!/usr/bin/env python3
  import numpy as np
  import matplotlib.pyplot as plt
  
  data = np.array([2.83333333, 1.6, 1.75, 2.6, 0.875, 1.75])
  
  N = len(data)
  theta = np.linspace(0.0, 2 * np.pi, N, endpoint=False)
  radii = data
  width = 2 * np.pi / N
  
  ax = plt.subplot(111, polar=True)
  
  bars = ax.bar(theta, radii, width=width, bottom=0.0)
  ax.yaxis.set_ticks([0,1,2,3,4])
  ax.yaxis.set_ticklabels(['None','Mild','Moderate','Severe','Extreme'])
  ax.xaxis.set_ticks(theta)
  ax.xaxis.set_ticklabels([1,2,3,4,5,6])
  
  ax.legend(['foo','bar','snafu','swag','s-fus','tarfu'])
  
  for r, bar in zip(theta, bars):
      bar.set_facecolor(plt.cm.jet(r / np.pi / 2))
      bar.set_alpha(0.8)
  
  plt.show()
  </code></pre>
  
  <p>With the following as a result:</p>
  
  <p><a href="https://i.stack.imgur.com/KoGqy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KoGqy.png" alt="http://i60.tinypic.com/2rxaatc.png"></a>
  </p>
  
  <p>I've chosen to try using legends to name the bars as the actual descriptions will be rather long such as "Understanding and communicating". The alternative would have been to use x-tick labels between the major ticks (I don't have a good idea on how to do that either, but it would probably look bad anyway).</p>
  
  <p>Now: WHY won't rest of the legends show up (I've randomly also gotten the second one, but that's about it)?</p>