[Python] Draw a horizontal line drawing

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

Guess you like

Origin blog.csdn.net/u_7890/article/details/92801768