Visualizing dummy variable against numeric variable

Why is the plot showing a range between 0 and 1 when it is clearly specified as a factor variable with two levels .

Screenshots are very rarely useful. Please help us help you by posting a reproducible example.