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

%matplotlib inline

In [ ]:
a = np.ones((100,100),dtype='uint8')
a*=255
a

In [ ]:
plt.imshow(a)

In [ ]:
print a

In [1]:
%%debug


UsageError: %%debug is a cell magic, but the cell body is empty. Did you mean the line magic %debug (single %)?

In [3]:
%edit


IPython will make a temporary file named: /var/folders/x3/yx202nn92gb9d9ndm_9b4xkc0000gn/T/ipython_edit_5OljAK/ipython_edit_mNKsRt.py

In [5]:
%history


%%debug
%edit
%edit
%history
%history

In [3]:
for a in range(1):
    print a


0

In [ ]: