I'm new to python and trying to plot a gaussian distribution having the function defined as

I plotted normal distribution P(x,y) and it's giving correct output. code and output are below.
Now I need to plot a conditional distribution
and the output should like
. to do this I need to define a boundary condition for the equation. I tried to define a boundary condition but it's not working. the code which I tried is
but it's giving wrong output
please help me how to plot the same.
Thanks,

