Jump to content

User:Gregor/IPython: Difference between revisions

From KDE UserBase Wiki
Gregor (talk | contribs)
Gregor (talk | contribs)
Line 25: Line 25:
* Loading Matplotlib demos with %load
* Loading Matplotlib demos with %load
** %load http://matplotlib.org/mpl_examples/showcase/integral_demo.py
** %load http://matplotlib.org/mpl_examples/showcase/integral_demo.py
* interactive plot with nbagg (%matplotlib notebook)
** http://i.imgur.com/nqJo2Jn.png?1
** (how to make it work?)

Revision as of 08:51, 11 October 2015

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

ipython3 notebook

Basic plotting

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