title: how to generate pie chart using dict_values in Python 3.4?
body: <p>I wanted the frequency of numbers in a list which I got using <code>Counter</code> library. Also, I got the keys and values using <code>keys = Counter(list).keys()</code> and <code>values = Counter(list).values()</code> respectively, where <code>list</code> is the list of numbers. Their output are in following form:</p>
  
  <pre><code>dict_keys(['0.2200', '0.2700', '0.6200', '0.3000', '0.2500', '0.3400', '0.5600', '0.3900', '0.5400', '0.5500', '0.7500', '0.4100', '0.2800', '0.4200', '0.3800', '0.6600', '0.2000', '0.5200', '0.7200'])
  </code></pre>
  
  <p>and,
      dict_values([15, 3, 6, 13, 6, 3, 1, 3, 3, 5, 4, 14, 8, 5, 3, 5, 11, 3, 9])</p>
  
  <p>Now I want to generate a pie-chart using keys and values which i did it in following way:</p>
  
  <pre><code>import matplotlib.pyplot as pyplot
  pyplot.axis("equal")
  pyplot.pie(float(values),labels=float(keys),autopct=None)
  pyplot.show()
  </code></pre>
  
  <p>But, I get the error as:</p>
  
  <pre><code>TypeError: float() argument must be a string or a number, not 'dict_values'
  </code></pre>
  
  <p>Is there any way to convert <code>dict_values</code> to string or number as the function used to generate pie chart only accepts string or number?</p>