From faea3bbe793d3fb85219be90176b497deaad0d75 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Tue, 20 Apr 2021 07:14:56 -0700 Subject: [PATCH 1/4] DOC: move third-party packages to new page --- doc/contents.rst | 2 +- doc/index.rst | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/contents.rst b/doc/contents.rst index 407f81e53b9d..5c5ecc9116a4 100644 --- a/doc/contents.rst +++ b/doc/contents.rst @@ -18,7 +18,7 @@ Overview faq/index.rst api/index.rst resources/index.rst - thirdpartypackages/index.rst + Third-party packages devel/index.rst .. only:: html diff --git a/doc/index.rst b/doc/index.rst index 29744b37c29f..932a99fe0580 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -61,7 +61,7 @@ Matplotlib makes easy things easy and hard things possible. Extend - Explore tailored functionality provided by - :doc:`third party packages ` + `third party packages `_ - Learn more about Matplotlib through the many :doc:`external learning resources ` @@ -160,7 +160,8 @@ helpers in `.axisartist`. Third party packages ==================== -A large number of :doc:`third party packages ` +A large number of +`third party packages `_ extend and build on Matplotlib functionality, including several higher-level plotting interfaces (seaborn_, HoloViews_, ggplot_, ...), and a projection and mapping toolkit (Cartopy_). From a539be8309ea0bbf9de7372f8c5849e933ab1e05 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Tue, 20 Apr 2021 07:23:01 -0700 Subject: [PATCH 2/4] DOC: add note to old third party, and orphan it --- doc/thirdpartypackages/index.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/thirdpartypackages/index.rst b/doc/thirdpartypackages/index.rst index aa5507b19f94..f9e544fbbb28 100644 --- a/doc/thirdpartypackages/index.rst +++ b/doc/thirdpartypackages/index.rst @@ -1,4 +1,10 @@ -.. _thirdparty-index: +:orphan: + +.. note:: + + This page has been moved to + where you will find an up-to-date list of packages. + ******************** Third party packages From d91e1979f1e7eb76efba9d721f29dac0df6c57e6 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Tue, 20 Apr 2021 07:26:20 -0700 Subject: [PATCH 3/4] DOC: remove third party from the example of including the figure --- doc/devel/documenting_mpl.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/devel/documenting_mpl.rst b/doc/devel/documenting_mpl.rst index 766f181ff31e..40f8a6d5a0c6 100644 --- a/doc/devel/documenting_mpl.rst +++ b/doc/devel/documenting_mpl.rst @@ -290,12 +290,12 @@ Including figures and files --------------------------- Image files can directly included in pages with the ``image::`` directive. -e.g., :file:`thirdpartypackages/index.rst` displays the images for the third-party -packages as static images:: +e.g., :file:`tutorials/intermediate/constrainedlayout_guide.py` displays +a couple of images as static images:: - .. image:: /_static/toolbar.png + # .. image:: /_static/constrained_layout_1b.png + # :align: center -as rendered on the page: :ref:`thirdparty-index`. Files can be included verbatim. For instance the ``LICENSE`` file is included at :ref:`license-agreement` using :: From 4b0e73ed314eb049633b97207aef2739c25dfa09 Mon Sep 17 00:00:00 2001 From: Jody Klymak Date: Thu, 22 Apr 2021 21:31:27 -0700 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: hannah --- doc/devel/documenting_mpl.rst | 2 +- doc/thirdpartypackages/index.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/devel/documenting_mpl.rst b/doc/devel/documenting_mpl.rst index 40f8a6d5a0c6..aa1f9353e27c 100644 --- a/doc/devel/documenting_mpl.rst +++ b/doc/devel/documenting_mpl.rst @@ -291,7 +291,7 @@ Including figures and files Image files can directly included in pages with the ``image::`` directive. e.g., :file:`tutorials/intermediate/constrainedlayout_guide.py` displays -a couple of images as static images:: +a couple of static images:: # .. image:: /_static/constrained_layout_1b.png # :align: center diff --git a/doc/thirdpartypackages/index.rst b/doc/thirdpartypackages/index.rst index f9e544fbbb28..16e931f9df73 100644 --- a/doc/thirdpartypackages/index.rst +++ b/doc/thirdpartypackages/index.rst @@ -2,7 +2,7 @@ .. note:: - This page has been moved to + This page has been moved to , where you will find an up-to-date list of packages.