Answers for "how to draw a horizontal line in matplotlib"

2

horizontal line matplotlib python

import matplotlib.pyplot as plt
plt.axhline(0)
Posted by: Guest on March-20-2020
2

python plot horizontal line

import matplotlib.pyplot as plt
series.plot(kind='barh')
plt.show()
Posted by: Guest on September-15-2021

Code answers related to "how to draw a horizontal line in matplotlib"

Python Answers by Framework

Browse Popular Code Answers by Language