When you try to plot a line with scalar inputs, the plot doesn't show up in the figure unless you use a Marker like *, +, . etc
In this line of code
x, y are scalars. Since you didn't specify any Marker, you got an empty figure.
Hope this helps!