title: How can I fill in spaces between lines without overlapping?
body: <p>I wanted to fill in the space between the following lines, however some of the spaces seem to over lap. Is there a way to disable the overlapping shaded regions? In the image the overlapped region is a little darker. Is there a way to get rid of that.</p>
  <p>The code is an example of what I want, in reality there would be many lines</p>
  <pre><code>x = np.linspace(0,6,100)
  y1 = np.exp(-x)*np.sin(x)
  y2 = np.exp(-x)*np.cos(x) + np.exp(-x)*np.sin(x)
  y3 =np.exp(-x)*np.cos(-x) + np.exp(-x)*np.sin(-x)
  
  
  plt.plot(x,y1,'k')
  plt.plot(x,y2,'k')
  plt.plot(x,y3,'k')
  
  
  plt.fill_between(x, y1, y2,color='m',alpha=0.2)
  plt.fill_between(x, y2, y3,color='m',alpha=0.2)
  
  plt.show()
  </code></pre>
  <p><a href="https://i.stack.imgur.com/PjQa3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PjQa3.png" alt="enter image description here" /></a></p>