import matplotlib.pyplot as plt plt.axhline(y=0.5, color='r', linestyle='-') plt.show()
https://stackoverflow.com/questions/33382619/plot-a-horizontal-line-using-matplotlib
import matplotlib.pyplot as plt plt.axhline(y=0.5, color='r', linestyle='-') plt.show()
https://stackoverflow.com/questions/33382619/plot-a-horizontal-line-using-matplotlib