Problems after updating ipython (% matplotlib nbagg)

I installed the anaconda distribution, I usually run ipython notebook --pylab inline . I updated ipython with pip install (Windows 8.1) and I don't need to write --pylab inline to get started anymore

I started writing in the cell: %matplotlib nbagg or matplotlib.use['nbagg'] , but when I draw something, it shows this empty field: enter image description here

I was expecting a build dialog.

The ipython log shows:

 [IPKernelApp] ERROR | No such comm: 7cfe982045bb4d0db0f14deff7258130 
+7
python matplotlib ipython ipython-notebook jupyter
source share
2 answers

I assume this problem is caused by too old version of matplotlib . Using %matplotlib nbagg with ipython>=3.0 requires matplotlib>=1.4.3 (note that %matplotlib notebook and %matplotlib nbagg are now synonyms).

Updating matplotlib via pip install --upgrade matplotlib will probably fix this problem. See also my issue-7797 on github. Thanks for jenshnielsen for this info.

+7
source share

I ran into the same issue with you and finally found it due to an outdated version of both ipython and matplotlib . I fixed this by updating ipython and matplotlib :

 sudo pip install -U ipython sudo pip install -U matplotlib 
+1
source share

All Articles