Show More
@@ -3,14 +3,13 b'' | |||||
3 | Kernel Installation |
|
3 | Kernel Installation | |
4 | ------------------- |
|
4 | ------------------- | |
5 |
|
5 | |||
6 |
IPython can be installed (different python versions, virtualenv or conda |
|
6 | IPython can be installed (different python versions, virtualenv or conda | |
7 |
|
|
7 | environments) as a kernel by following these steps: | |
8 |
|
8 | |||
9 | * make sure that the desired python installation is active (e.g. activate the environment) |
|
9 | * make sure that the desired python installation is active (e.g. activate the environment) | |
10 | and ipython is installed |
|
10 | and ipython is installed | |
11 | * run once ``ipython kernelspec install-self --user`` (or ``ipython2 ...`` or ``ipython3 ...`` |
|
11 | * run once ``ipython kernelspec install-self --user`` (or ``ipython2 ...`` or ``ipython3 ...`` | |
12 | if you want to install specific python versions) |
|
12 | if you want to install specific python versions) | |
13 |
|
13 | |||
14 | The last command installs a kernel spec file for the current python installation in |
|
14 | The last command installs a :ref:`kernel spec <jupyterclient:kernelspecs>` file for the current python installation. Kernel spec files are JSON files, which can be viewed and changed with a | |
15 | ``~/.jupyter/kernels/``. Kernel spec files are JSON files, which can be viewed and changed with a |
|
|||
16 | normal text editor. |
|
15 | normal text editor. |
@@ -6,11 +6,12 b' Using IPython for interactive work' | |||||
6 | :maxdepth: 2 |
|
6 | :maxdepth: 2 | |
7 |
|
7 | |||
8 | tutorial |
|
8 | tutorial | |
9 | tips |
|
|||
10 | reference |
|
|||
11 | magics |
|
9 | magics | |
12 | shell |
|
10 | plotting | |
13 | qtconsole |
|
11 | qtconsole | |
|
12 | reference | |||
|
13 | shell | |||
|
14 | tips | |||
14 |
|
15 | |||
15 | .. seealso:: |
|
16 | .. seealso:: | |
16 |
|
17 |
@@ -2,7 +2,7 b'' | |||||
2 |
|
2 | |||
3 | Plotting |
|
3 | Plotting | |
4 | -------- |
|
4 | -------- | |
5 |
One major feature of the |
|
5 | One major feature of the IPython kernel is the ability to display plots that | |
6 | are the output of running code cells. The IPython kernel is designed to work |
|
6 | are the output of running code cells. The IPython kernel is designed to work | |
7 | seamlessly with the matplotlib_ plotting library to provide this functionality. |
|
7 | seamlessly with the matplotlib_ plotting library to provide this functionality. | |
8 |
|
8 | |||
@@ -21,7 +21,7 b' requested using, for example::' | |||||
21 |
|
21 | |||
22 | A particularly interesting backend, provided by IPython, is the ``inline`` |
|
22 | A particularly interesting backend, provided by IPython, is the ``inline`` | |
23 | backend. This is available only for the Jupyter Notebook and the |
|
23 | backend. This is available only for the Jupyter Notebook and the | |
24 |
:ref:` |
|
24 | :ref:`Jupyter QtConsole <qtconsole>`. It can be invoked as follows:: | |
25 |
|
25 | |||
26 | %matplotlib inline |
|
26 | %matplotlib inline | |
27 |
|
27 | |||
@@ -32,3 +32,5 b' resulting plots will then also be stored in the notebook document.' | |||||
32 | .. seealso:: |
|
32 | .. seealso:: | |
33 |
|
33 | |||
34 | `Plotting with Matplotlib`_ example notebook |
|
34 | `Plotting with Matplotlib`_ example notebook | |
|
35 | ||||
|
36 | .. include:: ../links.txt |
General Comments 0
You need to be logged in to leave comments.
Login now