diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
commit | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch) | |
tree | 012bb94d777798f1f56ac1cec429509766d05181 /contrib/python/matplotlib-inline/README.md | |
parent | 6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff) | |
download | ydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/matplotlib-inline/README.md')
-rw-r--r-- | contrib/python/matplotlib-inline/README.md | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/contrib/python/matplotlib-inline/README.md b/contrib/python/matplotlib-inline/README.md index 9ef91180b1..d867a10191 100644 --- a/contrib/python/matplotlib-inline/README.md +++ b/contrib/python/matplotlib-inline/README.md @@ -1,30 +1,30 @@ -# Matplotlib Inline Back-end for IPython and Jupyter - -## Installation - -With conda: - -```bash -conda install -c conda-forge notebook matplotlib -``` - -With pip: - -```bash -pip install notebook matplotlib -``` - -## Usage - -This package is included in IPython and can be used in a Jupyter Notebook: - -```python -%matplotlib inline - -import matplotlib.pyplot as plt -import numpy as np - -x = np.linspace(0, 3*np.pi, 500) -plt.plot(x, np.sin(x**2)) -plt.title('A simple chirp'); -``` +# Matplotlib Inline Back-end for IPython and Jupyter + +## Installation + +With conda: + +```bash +conda install -c conda-forge notebook matplotlib +``` + +With pip: + +```bash +pip install notebook matplotlib +``` + +## Usage + +This package is included in IPython and can be used in a Jupyter Notebook: + +```python +%matplotlib inline + +import matplotlib.pyplot as plt +import numpy as np + +x = np.linspace(0, 3*np.pi, 500) +plt.plot(x, np.sin(x**2)) +plt.title('A simple chirp'); +``` |