Jupyter Lab Presentation¶

First we import some modules

In [2]:
import matplotlib.pyplot as plt
import numpy as np

Let's Plot these now

We will use pyplot

In [4]:
x = np.linspace(-2*np.pi, 2*np.pi, 100)
y = np.sin(x)
plt.plot(x, y)
Out[4]:
[<matplotlib.lines.Line2D at 0x7fc3e7d3f438>]