The probability actually corresponds to the probability of being from the class B (red). Hence all red samples should have a high probability (near 1.0) while all blue samples should a low probability (near 0.0). I changed the x-axis label to clarify that.