diff --git a/.jupyter/jupyter_notebook_config.py b/.jupyter/jupyter_notebook_config.py new file mode 100644 index 000000000000..4baef2fae164 --- /dev/null +++ b/.jupyter/jupyter_notebook_config.py @@ -0,0 +1,3 @@ +c.NotebookApp.contents_manager_class = 'jupytext.TextFileContentsManager' # noqa +c.ContentsManager.preferred_jupytext_formats_read = 'py:sphinx' # noqa +c.ContentsManager.sphinx_convert_rst2md = True # noqa diff --git a/README.rst b/README.rst index ed5ff8bce332..68e5576c2f8d 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -|Travis|_ |AppVeyor|_ |Codecov|_ |LGTM|_ |PyPi|_ |Gitter|_ |NUMFocus|_ +|Travis|_ |AppVeyor|_ |Codecov|_ |LGTM|_ |PyPi|_ |Gitter|_ |NUMFocus|_ |Examples|_ |Tutorials|_ .. |Travis| image:: https://travis-ci.org/matplotlib/matplotlib.svg?branch=master @@ -22,6 +22,11 @@ .. |NUMFocus| image:: https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A .. _NUMFocus: http://www.numfocus.org +.. |Examples| image:: https://mybinder.org/badge.svg +.. _Examples: https://mybinder.org/v2/gh/matplotlib/matplotlib/master?filepath=examples + +.. |Tutorials| image:: https://mybinder.org/badge.svg +.. _Tutorials: https://mybinder.org/v2/gh/matplotlib/matplotlib/master?filepath=tutorials ########## Matplotlib diff --git a/binder/requirements.txt b/binder/requirements.txt new file mode 100644 index 000000000000..68035bc1c6fb --- /dev/null +++ b/binder/requirements.txt @@ -0,0 +1,2 @@ +jupytext >= 0.7.0 +matplotlib