title: Matplotlib Heatmap with X, Y data
body: <p>I want to make a heatmap in <code>matplotlib</code> using either <code>pcolor</code> or another heatmap library. I have found many great examples, but can't determine how to either get my data in the correct format or instead plot using the format my data is in.</p>
  
  <p>Here is how my data is set up</p>
  
  <pre><code>X  Y  Value
  0  1  .6
  0  2  .3
  0  3  .2
  1  1  .8
  1  2  .4
  1  3  .9
  </code></pre>
  
  <p>Thus, the <code>X</code> and <code>Y</code> columns denote <code>(X,Y)</code> pairs where <code>Value</code> is the value of the corresponding cell. I am struggling to find a way to either transform the data to work with <code>pcolor</code> or another method of plotting. Any help would be appreciated.</p>