From 6537445bcac1a6729df36c0b9d80a88a66a8e80d 2013-08-14 22:41:56 From: Paul Ivanov Date: 2013-08-14 22:41:56 Subject: [PATCH] Merge pull request #4022 from ivanov/doc-links DOC: fix links to matplotlib, notebook docs --- diff --git a/IPython/html/templates/notebook.html b/IPython/html/templates/notebook.html index 59e3012..f35a3c3 100644 --- a/IPython/html/templates/notebook.html +++ b/IPython/html/templates/notebook.html @@ -156,14 +156,15 @@ class="notebook_app" diff --git a/docs/source/interactive/qtconsole.rst b/docs/source/interactive/qtconsole.rst index d8cf0de..da63964 100644 --- a/docs/source/interactive/qtconsole.rst +++ b/docs/source/interactive/qtconsole.rst @@ -44,7 +44,7 @@ for playing with examples from documentation, such as matplotlib. .. sourcecode:: ipython - In [6]: %load http://matplotlib.sourceforge.net/plot_directive/mpl_examples/mplot3d/contour3d_demo.py + In [6]: %load http://matplotlib.org/plot_directive/mpl_examples/mplot3d/contour3d_demo.py In [7]: from mpl_toolkits.mplot3d import axes3d ...: import matplotlib.pyplot as plt diff --git a/docs/source/interactive/reference.rst b/docs/source/interactive/reference.rst index 9b701a7..9955a67 100644 --- a/docs/source/interactive/reference.rst +++ b/docs/source/interactive/reference.rst @@ -1013,7 +1013,7 @@ object, do:: %gui wx -For information on IPython's Matplotlib integration (and the ``matplotlib`` +For information on IPython's matplotlib_ integration (and the ``matplotlib`` mode) see :ref:`this section `. For developers that want to use IPython's GUI event loop integration in the @@ -1088,7 +1088,7 @@ neither v2 PyQt nor PySide work. Plotting with matplotlib ======================== -`Matplotlib`_ provides high quality 2D and 3D plotting for Python. Matplotlib +matplotlib_ provides high quality 2D and 3D plotting for Python. matplotlib_ can produce plots on screen using a variety of GUI toolkits, including Tk, PyGTK, PyQt4 and wxPython. It also provides a number of commands useful for scientific computing, all with a syntax compatible with that of the popular @@ -1104,8 +1104,6 @@ backend value, which produces static figures inlined inside the application window instead of matplotlib's interactive figures that live in separate windows. -.. _Matplotlib: http://matplotlib.sourceforge.net - .. _interactive_demos: Interactive demos with IPython @@ -1163,3 +1161,4 @@ divisions are allowed. If you want to be able to open an IPython instance at an arbitrary point in a program, you can use IPython's embedding facilities, see :func:`IPython.embed` for details. +.. include:: ../links.txt diff --git a/docs/source/links.txt b/docs/source/links.txt index 1e8f6fe..d38eb6c 100644 --- a/docs/source/links.txt +++ b/docs/source/links.txt @@ -31,7 +31,7 @@ .. _graphviz: http://www.graphviz.org .. _Sphinx: http://sphinx.pocoo.org .. _`Sphinx reST`: http://sphinx.pocoo.org/rest.html -.. _sampledoc: http://matplotlib.sourceforge.net/sampledoc +.. _sampledoc: http://matplotlib.org/sampledoc .. _reST: http://docutils.sourceforge.net/rst.html .. _docutils: http://docutils.sourceforge.net .. _lyx: http://www.lyx.org diff --git a/docs/source/parallel/parallel_winhpc.rst b/docs/source/parallel/parallel_winhpc.rst index 8cfb5e3..346b6f1 100644 --- a/docs/source/parallel/parallel_winhpc.rst +++ b/docs/source/parallel/parallel_winhpc.rst @@ -12,7 +12,7 @@ interactive numerical work. Second, it is easy (often times trivial) to integrate legacy C/C++/Fortran code into Python. Third, a large number of high-quality open source projects provide all the needed building blocks for numerical computing: numerical arrays (NumPy), algorithms (SciPy), 2D/3D -Visualization (Matplotlib, Mayavi, Chaco), Symbolic Mathematics (Sage, Sympy) +Visualization (matplotlib_, Mayavi, Chaco), Symbolic Mathematics (Sage, Sympy) and others. The IPython project is a core part of this open-source toolchain and is @@ -86,7 +86,7 @@ In addition, the following dependencies are needed to run the demos described in this document. * NumPy and SciPy (http://www.scipy.org) -* Matplotlib (http://matplotlib.sourceforge.net/) +* matplotlib_ (http://matplotlib.org) The easiest way of obtaining these dependencies is through the Enthought Python Distribution (EPD) (http://www.enthought.com/products/epd.php). EPD is @@ -358,3 +358,4 @@ The :meth:`map` method has the same signature as Python's builtin :func:`map` function, but runs the calculation in parallel. More involved examples of using :class:`DirectView` are provided in the examples that follow. +.. include:: ../links.txt