matplot lib at line code example
Example: matplotlob line
draw line using matplotlib liabrary
-----------------------------------
import matplotlib.pyplot as plt
import numpy as np
xpoints = np.array([0, 6])
ypoints = np.array([0, 250])
plt.plot(xpoints, ypoints)
plt.show()