User:Gregor/IPython: Difference between revisions

From KDE Wiki Sandbox
(Created page with "== IPython installation on openSUSE 13.2 == sudo zypper install python3-IPython Sometimes the following is missing: sudo pip3 install jinja2 == Start jupyter notebook ==...")
 
No edit summary
Line 10: Line 10:


  ipython3 notebook
  ipython3 notebook
=== Basic plotting ===
See http://nbviewer.ipython.org/github/ipython/ipython/blob/master/examples/IPython%20Kernel/Plotting%20in%20the%20Notebook.ipynb
* Enable matplotlib mode
** %matplotlib inline
** Shift + Enter
* Making a simple plot
* Loading Matplotlib demos with %load
** %load http://matplotlib.org/mpl_examples/showcase/integral_demo.py

Revision as of 08:40, 11 October 2015

IPython installation on openSUSE 13.2

sudo zypper install python3-IPython

Sometimes the following is missing:

sudo pip3 install 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