SyntaxFix
Write A Post
Hire A Developer
Questions
Using vlines:
vlines
import numpy as np np.random.seed(5) x = arange(1, 101) y = 20 + 3 * x + np.random.normal(0, 60, 100) p = plot(x, y, "o") vlines(70,100,250)
The basic call signatures are:
vlines(x, ymin, ymax) hlines(y, xmin, xmax)