Answers for "matplotlib.pyplot horizontal line"

2

horizontal line matplotlib python

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

how to plot mltiple horizontak kines in matplotlib

[ax.axhiline(y=i, linestyle='--') for i in [150,100,200,300]]
Posted by: Guest on May-18-2020

Python Answers by Framework

Browse Popular Code Answers by Language