Learn practical skills, build real-world projects, and advance your career
Updated 4 years ago
from matplotlib import pyplot as plt
import numpy as np
%matplotlib inline
Line plot
x = np.arange(0, 2 * np.pi, 0.2)
y = np.sin(x)
plt.plot(x, y)
plt.show()