Ipython notebook (jupyter),opencv (cv2) and plotting?
<p><strong>Is there a way to use and plot with opencv2 with ipython notebook?</strong></p>

<p>I am fairly new to python image analysis. I decided to go with the notebook work flow to make nice record as I process and it has been working out quite well using matplotlib/pylab to plot things.</p>

<p>An initial hurdle I had was how to plot things within the notebook. Easy, just use magic:</p>

<pre><code>%matplotlib inline
</code></pre>

<p>Later, I wanted to perform manipulations with interactive plots but plotting in a dedicated window would always freeze. Fine, I learnt again that you need to use magic. Instead of just importing the modules:</p>

<pre><code>%pylab
</code></pre>

<p>Now I have moved onto working with opencv. I am now back to the same problem, where I either want to plot inline or use dedicated, interactive windows depending on the task at hand. Is there similar magic to use? Is there another way to get things working? Or am I stuck and need to just go back to running a program from IDLE?</p>

<p>As a side note: I know that opencv has installed correctly. Firstly, because I got no errors either installing or importing the cv2 module. Secondly, because I can read in images with cv2 and then plot them with something else.</p>