User:Gregor/IPython

From KDE Wiki Sandbox

IPython installation on openSUSE 13.2

sudo zypper install python3-IPython

Sometimes the following is missing:

sudo pip3 install jinja2

or

sudo pip3 install --user jinja2

Start jupyter notebook

http://jupyter.org/

ipython3 notebook

Basic plotting

See http://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/IPython%20Kernel/Plotting%20in%20the%20Notebook.ipynb

Animations with qt4 viewer

sudo zypper install python3-matplotlib-qt4
%matplotlib qt
%load http://matplotlib.org/examples/animation/animate_decay.py

see http://matplotlib.org/examples/animation/animate_decay.html

=> A viewer opens showing an animation