title: Python Heatmaps (Basic and Complex)
body: <p>What's the best way to do a heatmap in python (2.7)? I've found the <a href="https://github.com/keenerd/rtl-sdr-misc/blob/master/heatmap/heatmap.py" rel="nofollow noreferrer">heatmap.py</a> module, and I was wondering if people have any advice on using it, or if there are other packages that do a good job.</p>
  
  <p>I'm dealing with pretty basic data, like <code>xy = np.random.rand(1000,2)</code> superimposed on an image.</p>
  
  <p>Although there's another thing I want to try, which is doing a heatmap that's scaled to a different heatmap. E.g., I have </p>
  
  <pre><code>attempts = np.random.rand(5000,2)
  successes = np.random.rand(500,2)
  </code></pre>
  
  <p>And I want a heatmap of the successes relative to the density of the attempts. Is this possible?</p>