Dear guys I'm trying to group my 2d data but with poor results.
My input are x and y. At first I divide them into bins with different dimensions as it follows:
At this point through I asses the distributions in each bin:
Finally, I subplot my data in order to have at the left side the scatter of points while at the other an heatmap:
Unfortunately this is my result
The right side is correct but somehow in the wrong side. How can I correct this?