First we import some modules
import matplotlib.pyplot as plt import numpy as np
Let's Plot these now
We will use pyplot
x = np.linspace(-2*np.pi, 2*np.pi, 100) y = np.sin(x) plt.plot(x, y)
[<matplotlib.lines.Line2D at 0x7fc3e7d3f438>]