title: How to draw an errorplot and a boxplot sharing x and y axes
body: <p>I am used to read programming documentation but I have to admit that when it comes to matplotlib, I get really lost &amp; confused. I just want to draw 2 sets of data that share the same y and x Axes, but one set drawn as a boxplot, and the other as errorbars. I've tried setting hold to true or cloning the X axes but every time only one of the dataset gets drawn. 
  Could someone share a simple code I could mimic ? </p>
  
  <p>here is what I basically do</p>
  
  <pre><code>fig = plt.figure()
  ax1 = fig.add_subplot(1,1,1)
  ax =  ax1.twinx()
  ax.errorbar( ... )
  ax =  ax1.twinx()
  ax.boxplot(...)
  plt.show()
  </code></pre>
  
  <hr>
  
  <p>My question is really similar to that one <a href="https://stackoverflow.com/questions/10175590/add-boxplot-to-other-graph-in-python">add boxplot to other graph in python</a> which answer doesn't work.</p>
  
  <p>Best regards</p>