title: Pyplot pie chart bug with small values
body: <p>I try to plot an array of small values on a pie chart, but I get the following result:</p>
  
  <pre><code>values = [0.077, 0.028, 0.006, 0.149, 0.081]
  
  fig = plt.figure(figsize=(6,6))
  ax = fig.add_subplot(111)
  ax.pie(values, startangle=90)
  plt.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/v8jsq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v8jsq.png" alt="Bug"></a></p>
  
  <p>However, I just have to multiply these values by 10 to get the correct result:</p>
  
  <pre><code>values = [v*10 for v in values]
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/mlYrp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mlYrp.png" alt="Normal"></a></p>
  
  <p>Any idea why this happens, and how to fix it?</p>
  
  <p>(Note: I'm using Python 2.7, matplotlib 1.4.3, and I am running the script from a IPython notebook)</p>