I have an array looking like this:
array([[ 912.1, 821.5],
[ 911.9, 821.5],
[ 911.9, 821.5],
...,
[ 654.6, 552.8],
[ 655. , 553.3],
[ 655.4, 553.7]])
So there are like 250,000 coordinates organized like that. Each contains one x-value and one y-value. I want to create a 2D histogram using this data. I've been looking at tutorials, but they all seem to show how to create 2D histograms from random data and not a numpy matrix like that. So in the end it should be a heatmap where red indicates more counts than blue for example.
Has anyone any ideas or hints to solve this kind of problem?