title: How to change text font size of labels in a pie chart?
body: <p>I want to increase the text size of labels like Carbon, Oxygen in my pie chart.</p>
  <p><img src="https://i.stack.imgur.com/T3Ke8.png" alt="" /></p>
  <pre class="lang-py prettyprint-override"><code>import matplotlib.pyplot as plt
  
  elements_mass =[43,16,7,0.78,0.14,1.8,1.0,0.14,0.10,0.095]
  elements_name =[&quot;Oxygen&quot;,&quot;Carbon&quot;,&quot;Hydrogen&quot;,&quot;Phosphorus&quot;,&quot;Potassium&quot;,&quot;Nitrogen&quot;,&quot;Calcium&quot;,&quot;Sulfur&quot;,&quot;Sodium&quot;,&quot;Chlorine&quot;]
  
  plt.axis(&quot;equal&quot;)
  
  plt.pie(elements_mass,labels=elements_name, radius=4, autopct='%0.3f%%',pctdistance = 0.8,shadow=False, explode =[0.1,0.09,0,0.2,0.3,0.4,0.5,0.3,0.7,0])
  plt.show()
  </code></pre>