title: Plotting side by side charts using matplotlib using
body: <p>I am trying to plot two donut charts side by side using matplotlib in python.</p>
  
  <p>First of all I am creating the donut chart using the following logic:</p>
  
  <ol>
  <li>Create a simple pie chart;</li>
  <li>Pick a position for the chart using the <code>add_axes</code> function;</li>
  <li>Add a <strong>patch</strong> (white circle in it so it can look like a donut chart);</li>
  <li><p>Display the side by side charts on the screen.</p>
  
  <pre><code>fig= plt.figure()
  circle1 = plt.Circle((0,0), radius= .7 ,color='white')
  
  ax1= fig.add_axes([0,0,1,1],aspect=1)
  ax1.pie(x= values, labels= KA, startangle=30,radius=1.2)
  ax1.add_patch(circle1)
  
  circle2 = plt.Circle((0,0), radius= .7 ,color='white')
  ax2 = fig.add_axes([1,0,1,1],aspect=1)
  ax2.pie(x=values2, explode=explode, labels=KA2,startangle=30,radius=1.2)
  ax2.add_patch(circle2)
  
  plt.show()
  </code></pre></li>
  </ol>
  
  <p>When it runs the function <code>plt.show()</code> it only displays the first donut chart, with a very strong zoom in it...</p>
  
  <p>What has been driving me crazy is the fact that if I run the following function:
  <code>plt.savefig('testplot.png',bbox_inches='tight')</code>
  it saves a png file just like I want...</p>
  
  <p>How can I do that on the <code>plt.show()</code></p>