How to create a heat map matrix and generate regions based 'heat' in Python?
问题 Given a set of points (x, y, 'heat'), In [15]: df.head() Out[15]: x y heat 0 0.660055 0.395942 2.368304 1 0.126268 0.187978 6.760261 2 0.174857 0.637188 1.025078 3 0.460085 0.759171 2.635334 4 0.689242 0.173868 4.845778 How to generate a heat map matrix and delimit heat regions (hard)? in such a way that, given a point, it is possible to get all points within the same region. PS: From Generate a heatmap in MatPlotLib using a scatter data set, I know how to generate graphs of regions, but not