title: Pyplot Scatter to Contour plot
body: <p>I'm in the process of making a scatter plot from thousands of points in python using pyplot. My problem is that they tend to concentrate in one place, and it's just a giant blob of points.</p>
  
  <p>Is there some kind of functionality to make pyplot plot points up until it reaches some critical density and then make it a contour plot?</p>
  
  <p>My question is similar to <a href="https://stats.stackexchange.com/questions/31726/scatterplot-with-contour-heat-overlay">this one</a>, where the example plot has contour lines, in which the color represents the density of the plotted points.</p>
  
  <p><a href="https://i.stack.imgur.com/fAzpe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fAzpe.png" alt="Super cool contour plot"></a></p>
  
  <p>This is what my data looks like<a href="https://i.stack.imgur.com/5dE91.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5dE91.png" alt="Lots of yellow points"></a></p>