plyplot horizontal line how to set all x axex code example Example: horizontal line matplotlib python import matplotlib.pyplot as plt plt.axhline(0)