title: putting multiple style of plots into one
body: <p>I have the below arrays. I want to use the <code>random_round_i</code> arrays to create 3 interquartile plots, <code>upper_limits</code> to show the upper limit for each boxplot, base as a bottom line for all, and flow as an individual plot again.</p>
  
  <p>I am not putting everything in boxplots, because flow, upper_limits and base are coming from different sources, and in fact I need to compare their values with the random </p>
  
  <pre><code>random_round_1=[0.508477, 0.509855, 0.517986]
  random_round_2=[0.506998, 0.523818, 0.503029]
  random_round_3=[0.524584, 0.53033, 0.514867]
  flow = [0.503688, 0.507809, 0.504012]
  upper_limits = [0.544946, 0.568013, 0.616112]
  base = [0.481581] 
  </code></pre>
  
  <p>How can I create one plot, in shich I have base as one horizontal long line below all boxplots, then the box plots next to each other, and finally flow and upper_limits as normal plots. </p>
  
  <p><a href="https://i.stack.imgur.com/7u56p.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7u56p.png" alt="enter image description here"></a></p>
  
  <p>When I just use the code below, the boxplots and the line plots don't match at the correct positions. I want those lines to go through all three boxplots.</p>
  
  <pre><code>    plt.boxplot([random_round_1, random_round_2, random_round_3])
      plt.plot(upper_limits)
      plt.plot(flow)
      plt.hlines(y = base, xmin = 0, xmax = 4)
  </code></pre>