---------------------------------------------------------------------------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----> 1plt.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)