I have data indexed by two (non linear) keys. I am trying to create a scatter point of my data with each key on one axis, and a color bar representing the value of my data.
The issue with colormesh is that my data would for example look like, assuming 4 points, (1,10,1st value),(1,20,2nd value),(2,13,3rd value) and (2,14,4th value), so I can not variate each key independently. Also, there are zones with no data that should stay white.
I am new to matplotlib, and I haven't found any function that seem to be able to do this.
I assume trying to create a colorscale by hand by fixing a few value ranges and then doing a scatterplot would work, but it seems inelegant and non precise.
What would be the best approach to this issue, or is there a relevant matplotlib function/option in the library I missed ?