Troubles after updating ipython (%matplotlib nbagg)

I guess this issue is caused by a 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 issue. See also my issue-7797 on github. Thanks to jenshnielsen for this information.


Should update both matplotlib and ipython...

sudo pip install -U ipython
sudo pip install -U matplotlib

on windows:

pip install --upgrade matplotlib
pip install --upgrade ipython