title: matplot pie: rotate labels horizontally
body: <p>Using matplot to create  a little gauge with the code below:</p>
  
  <pre><code>    group_size=[10,10,10,10,10,50]
      labels=['AAAA','BBBB','CCCC','DDDD','EEEE','']
      fig, ax = plt.subplots()
      ax.axis('equal')
      pie = ax.pie(group_size, radius=2.2, colors=['k'] ,startangle=180,counterclock=False)
      pie2 = ax.pie([10,10,10,10,10,50], radius=2,  labeldistance=0.7, labels=labels, rotatelabels = 270,
  startangle=180,counterclock=False)
      plt.show()
  </code></pre>
  
  <p>I am trying to get the labels to go horizontally and align with the midpoint of each wedge like this (but with the text inside the wedges):</p>
  
  <p><img src="https://i.stack.imgur.com/Qn8ku.png" alt="enter image description here"></p>
  
  <p>Using rotatelabel=True, I get the following:</p>
  
  <p><img src="https://i.stack.imgur.com/sLMhe.png" alt="enter image description here"></p>
  
  <p>Any ideas on how I can achieve the horizontal rotation of the labels for the graph?</p>