title: Setting the limits on a colorbar of a contour plot
body: <p>I have seen so many examples that just don't apply to my case. What I would like to do is set a simple minimum and maximum value for a colorbar. Setting a range for an image cmap is easy but this does not apply the same range to the minimum and maximum values of the colorbar.
  The code below may explain:</p>
  
  <pre><code>triang = Triangulation(x,y)
  plt.tricontourf(triang, z, vmax=1., vmin=0.)
  plt.colorbar()
  </code></pre>
  
  <p>The colorbar is still fixed to the limits of the data z, although the cmap range is now fixed between 0 and 1.</p>