my-awesome-project/new-notebook.ipynb

20 KiB

In [3]:
import numpy as np
import matplotlib.pyplot as plt
In [1]:
x = np.arange(100)
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
Cell In[1], line 1
----> 1 x = np.arange(100)

NameError: name 'np' is not defined
In [2]:
plt.plot(x,x*x,x,x*x*x);
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
Cell In[2], line 1
----> 1 plt.plot(x,x*x,x,x*x*x)

NameError: name 'plt' is not defined
In [6]:
plt.plot(x,1/x)
/tmp/ipykernel_663/3399443285.py:1: RuntimeWarning: divide by zero encountered in divide
  plt.plot(x,1/x)
Out[6]:
[<matplotlib.lines.Line2D at 0x7fa714f46a10>]
No description has been provided for this image
In [ ]: