I’d like to make a scatter plot where each point is colored by the spatial density of nearby points. I’ve come across a very similar question, which shows an example of this using R: R Scatter Plot: symbol color represents number of overlapping points What’s the best way to accomplish something similar in python using matplotlib? Answer In addition to