python plot horizontal line for a range of values,plt.show()