title: Controlling the Range of a Color Matrix Plot in Matplotlib
body: <p>I'd like to make a matrix plot like the image below in matplotlib. I can make this a plot like this with this code:</p>
  
  <pre><code>m = numpy.random.rand(100,100)
  matplotlib.pyplot.matshow(m)
  </code></pre>
  
  <p>How can I control the color scale, i.e. set the values corresponding to the "min" and "max" colors?</p>
  
  <p><img src="https://i.stack.imgur.com/i2QnA.jpg" alt=""></p>