title: How to avoid keys with zero percentage in pie plot matplotlib
body: <p>I have to plot pie chart with %age values, I am facing a problem that some value are very small and their %age is about zero, when I plot using matplotlib in python, therir labels overlab and they are not readable. I think its one solution is to avoid values with zero %age and second is to seprate labels to overlap (with some arrow etc.) Here is my simple code</p>
  <pre><code>def show_pi_chart(plot_title,keys,values,save_file):
      size = len(keys)
      #Get Colors list
      color_list = make_color_list(size)
      pyplot.axis(&quot;equal&quot;)
      pyplot.pie(values,
                 labels=keys,
                 colors=color_list,
                 autopct=&quot;%1.1f%%&quot;
                 )
      pyplot.title(plot_title)  
      pyplot.show()
  </code></pre>
  <p>And my chart is
  <a href="https://i.stack.imgur.com/Q6DNG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q6DNG.png" alt="enter image description here" /></a></p>
  <p>What is the solution to make labels dictant or remove small %age keys</p>