title: How can I make a scatter plot colored by density in matplotlib?
body: <p>I'd like to make a scatter plot where each point is colored by the spatial density of nearby points.  </p>
  
  <p>I've come across a very similar question, which shows an example of this using R:</p>
  
  <p><a href="https://stackoverflow.com/q/17093935/2983551">R Scatter Plot: symbol color represents number of overlapping points</a></p>
  
  <p>What's the best way to accomplish something similar in python using matplotlib?</p>