title: matplotlib contour plot colorbar
body: <p>I have two different contour plots with the same levels, how can I get the color progression in the colorbar/plot to match?</p>
  
  <p><strong>Contour Plot 1 (see colorbar range 0 to 0.005):</strong>
  <a href="https://i.stack.imgur.com/BSuXP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BSuXP.png" alt="enter image description here"></a></p>
  
  <p><strong>Contour Plot 2 (color range 0 to 0.005 is different color):</strong>
  <a href="https://i.stack.imgur.com/huE77.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/huE77.png" alt="enter image description here"></a>
  How can I get them to match?
  Thanks</p>
  
  <pre><code>level = np.arange(0,0.05,0.005) 
  levels =np.append([pmin],level)
  plt.contourf(X,Y,Z,levels)
  plt.colorbar()
  plt.gca().invert_yaxis()
  plt.gca().set_aspect('equal','box')
  plt.gca().set_xlim(min(XI),max(XI))
  plt.gca().set_ylim(min(YI),max(YI))
  plt.show()
  </code></pre>