title: How can I make matplotlib mark_inset display line on top of the graph?
body: <p>I have this code</p>
  
  <pre><code>ax = plt.subplot(222)
  plt.plot(time_list, data[1], color='red')
  plt.plot(time_list, y_offset, color='blue')
  plt.axvline(x=0, color='black')
  plt.axhline(y=0, color='black')
  
  axins = zoomed_inset_axes(ax, 4.5, loc=4)
  axins.plot(time_list, data[1], color='red')
  axins.plot(time_list, y_offset, color='blue')
  axins.axvline(x=0, color='black')
  axins.axhline(y=0, color='black')
  axins.axis([2, 3, -0.01, 0.01])
  plt.yticks(visible=False)
  plt.xticks(visible=False)
  mark_inset(ax, axins, loc1=3, loc2=1, fc="none", ec="0.0")
  </code></pre>
  
  <p>which plot the graph like this</p>
  
  <p><a href="https://i.stack.imgur.com/Llwpo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Llwpo.png" alt="enter image description here"></a></p>
  
  <p>as you can see the zoom box line is behind the red plot but the link line is on top of the plot so how can I make the zoom box line become on top of the plot?</p>