In [21]:
%lsmagic
Out[21]:
In [1]:
%matplotlib inline
import numpy as np
# from pylab import *
import pylab as plt
n = np.linspace(0,2*np.pi,50)
y = np.sin(n)
"""
r -> red line (b = blue, g = green, y = yellow, k = black)
o / p -> points
* -> stars
-- -> dashed
s -> squares
^ -> triangles
: -> dots
"""
plt.plot(n, y, ':')
plt.show(block=True)
In [23]:
!ls
In [24]:
!cd ..
In [25]:
!ls
In [26]:
%alias
Out[26]:
In [2]:
for i in range(0,10):
print(i)
In [ ]: