summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwrwrwr <git@wr.waw.pl>2016-10-08 13:14:16 +0200
committerwrwrwr <git@wr.waw.pl>2016-10-08 13:24:06 +0200
commitbb2865a2863492a2ea1799e1ce874607e8cf6ff9 (patch)
tree90e05bcdd97dfa2f7506e5f0a9e29abb5a4ce2e9 /doc
parentb0159a987b5dabb6ed0243aecfca43d6905180e6 (diff)
downloadnumpy-bb2865a2863492a2ea1799e1ce874607e8cf6ff9.tar.gz
DOC: Add matplotlib inventory for intersphinx.
This makes it possible to directly use matplotlib references such as :func:`matplotlib.pyplot.imshow`.
Diffstat (limited to 'doc')
-rw-r--r--doc/source/conf.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 11841c1bb..9ad17d5c0 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -199,7 +199,10 @@ texinfo_documents = [
# -----------------------------------------------------------------------------
# Intersphinx configuration
# -----------------------------------------------------------------------------
-intersphinx_mapping = {'http://docs.python.org/dev': None}
+intersphinx_mapping = {
+ 'python': ('https://docs.python.org/dev', None),
+ 'matplotlib': ('http://matplotlib.org', None)
+}
# -----------------------------------------------------------------------------