I have two vectors of different length and their corresponding probabilities.
import numpy as np
x = np.arange(10)+1
y = np.arange(15)+10
px = np.random.normal(0.5,0.05,10)
py = np.random.normal(0.5,0.05,15)
I would like to make a 2D of x vs y where the plane is colored according to the probability of x and y.
I'm stuck on the fact that x and y are not of the same dimension. But in essence that should just give 'pixels' of different size in the x and y direction, no? Any suggestions are appreciated!