title: Plot pie chart and table of pandas dataframe
body: <p>I have to plot pie-chart and a table side by side using matplotlib.</p>
  
  <p>For drawing the pie-chart, I use the below code:</p>
  
  <pre><code>import matplotlib.pyplot as plt
  df1.EventLogs.value_counts(sort=False).plot.pie()
  plt.show()
  </code></pre>
  
  <p>For drawing a table, I use the below code:</p>
  
  <pre><code>%%chart table --fields MachineName --data df_result2
  </code></pre>
  
  <p>df_result2 is a table with the list of MachineName's in it.</p>
  
  <p>Not sure whether we can place both pie chart and table side by side. Any help would be appreciated.</p>