ax.hlines([100, 150, 200, 300], -10, 390, linestyle="--)
See for the full signature `matplotlib.pyplot.hlines`. The price to pay for this convenience is that one has to specify explicitly the beginning and the end of the line.