title: pie chart show percentage of specific values
body: <p>File consists of some city groups and time information. I took a code from somwhere around stackoverflow and changed it a little:</p>
  <pre><code>fig, ax = plt.subplots(figsize=(8, 5.5), subplot_kw=dict(aspect=&quot;equal&quot;))
  wedges,texts, autotexts = ax.pie(File, autopct= '%1.1f%%',
                                    textprops=dict(color=&quot;g&quot;))
  
  ax.legend(wedges, File.index,
            title=&quot;Signatures&quot;, loc = 0, bbox_to_anchor=(-0.85, 1, 0.7, 0.35), ncol = 2
            )
  plt.setp(autotexts, size=6, weight=&quot;bold&quot;)
  plt.tight_layout()
  ax.set_title(&quot;Timing(%)&quot;)
  </code></pre>
  <p>2 problems I still didn't solve:
  First, how do I keep the top city group names (4 or 5 in number) inside the pie chart and not only in the legend? (but not everyone..only these who appears the most!) and the second, how do I hide all perecentages which are under 10%? I got 12-23 groups (several charts) and sometimes the &quot;percentage text&quot; is overwritten.</p>