I know I can use hlines to draw lines in data coordinates (e.g. from 2.5 to 5) as well as axhline to draw lines in axis coordinates (e.g. from 0, i.e. left border of plot, to 1, the right border).
Is there a way to draw a line mixing these two? In particular, I want to draw a line which starts at the left edge of the plot (0 in axis coordinates) regardless of any changes of xlim, but which ends at some fixed x value.
I tried
ax.plot([-np.inf, x], [y, y])
but this does not work.

