There are at least two libraries for ipython able to plot graphs interactively and inline.

  1. mpld3
  2. bokeh

I have tested only mpld3. It looks awesome. It implements exactly the thing I missed without matlab. Inside the notebook I now have a possibility to zoom and move plots.

Of course, I could do it using qt mode, but it not so nice and convenient.

Demo of mpld3: http://mpld3.github.io/_downloads/mpld3_demo.html

How I use it:

fig, ax = plt.subplots(2, 2, figsize=(8, 8),sharex=True, sharey=True)
fig.subplots_adjust(hspace=0.0)
ax.flat[0].imshow(img[0])
ax.flat[1].imshow(img[1])
ax.flat[2].imshow(map_choise)
vh.plot_optical_flow(*list_flow[1], axes=ax.flat[2])  # function based on plt.quiver

Initial:

If you need to zoom: