title: How to display Summary statistics next to a plot using matplotlib or seaborn?
body: <p>I am trying to create a function that will iterate over the list of numerical features in a dataframe to display histogram and summary statistics next to it. I am using <code>plt.figtext()</code> to display the statistics but I am getting an error</p>
  
  <pre><code>num_features=[n1,n2,n3]
  
  for i in num_features:
      fig, ax = plt.subplots()
      plt.hist(df[i])
      plt.figtext(1,0.5,df[i].describe() )
      ax.set_title(i)
      plt.show()
  </code></pre>
  
  <p>When I do this I get an error/warning message:</p>
  
  <p><code>ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()</code></p>
  
  <p>It works fine if use <code>df[n].mean()</code> instead of <code>describe()</code></p>
  
  <p>What am I doing wrong? Is there a better way to print a plot and show some statistics next to it?</p>