I understand the analytical proof given here.
But in that case since $Y=F(X)$, say where $F(X)$ is the cdf of a standard normal distribution $N(0,1)$ the plot of which is not rectangular but rather S shaped.
I fail to understand. Could someone please help?