I have a list of values x that I want to plot (with lines) against the y axis.
That is, if x = [3, 5, 2, 4] and y = ['A', 'B', 'C', 'D'], the plot might look like this (except not hand-drawn):
And I'm afraid I don't see anything in the matplotlib.pyplot docs / SO / google pointing me in the right direction, even what to call it. Any pointers?