Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit abb836f

Browse files
committed
Merge pull request #4016 from tacaswell/toolkit_doc_tweaks
DOC : tweak how toolkits docs are organized
2 parents 98557cc + f407aec commit abb836f

File tree

1 file changed

+69
-43
lines changed

1 file changed

+69
-43
lines changed

doc/mpl_toolkits/index.rst

Lines changed: 69 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,24 @@
66
axes_grid/index.rst
77
mplot3d/index.rst
88

9+
.. _toolkits:
910

1011
########
1112
Toolkits
1213
########
1314

14-
.. htmlonly::
15-
16-
:Release: |version|
17-
:Date: |today|
1815

19-
.. _toolkits:
2016

2117
Toolkits are collections of application-specific functions that extend matplotlib.
2218

19+
20+
.. _toolkits-mapping:
21+
22+
23+
Mapping Toolkits
24+
****************
25+
26+
2327
.. _toolkit_basemap:
2428

2529
Basemap
@@ -50,43 +54,21 @@ tools. An example plot from the
5054
:height: 400px
5155

5256

53-
.. _toolkit_gtk:
54-
55-
GTK Tools
56-
=========
57-
58-
mpl_toolkits.gtktools provides some utilities for working with GTK.
59-
This toolkit ships with matplotlib, but requires `pygtk
60-
<http://www.pygtk.org/>`_.
61-
62-
63-
.. _toolkit_excel:
64-
65-
Excel Tools
66-
===========
67-
68-
mpl_toolkits.exceltools provides some utilities for working with
69-
Excel. This toolkit ships with matplotlib, but requires
70-
`xlwt <http://pypi.python.org/pypi/xlwt>`_
71-
72-
73-
.. _toolkit_natgrid:
74-
75-
Natgrid
76-
=======
77-
(*Not distributed with matplotlib*)
57+
.. _toolkits-shipped:
7858

79-
mpl_toolkits.natgrid is an interface to natgrid C library for gridding
80-
irregularly spaced data. This requires a separate installation of the
81-
natgrid toolkit from the sourceforge `download
82-
<http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=142792>`_
83-
page.
8459

60+
General Toolkits
61+
****************
8562

8663
.. _toolkit_mplot3d:
8764

8865
mplot3d
8966
=======
67+
.. toctree::
68+
:maxdepth: 2
69+
70+
mplot3d/index
71+
9072

9173
:ref:`mpl_toolkits.mplot3d <toolkit_mplot3d-index>` provides some basic 3D plotting (scatter, surf,
9274
line, mesh) tools. Not the fastest or feature complete 3D library out
@@ -99,13 +81,21 @@ solution for some use cases.
9981

10082
AxesGrid
10183
========
84+
.. toctree::
85+
:maxdepth: 2
86+
87+
axes_grid/index
88+
10289

10390
The matplotlib :ref:`AxesGrid <toolkit_axesgrid-index>` toolkit is a collection of helper classes to
10491
ease displaying multiple images in matplotlib. The AxesGrid toolkit is
10592
distributed with matplotlib source.
10693

94+
95+
10796
.. image:: /_static/demo_axes_grid.png
10897

98+
10999
.. _toolkit_mpldatacursor:
110100

111101
MplDataCursor
@@ -116,19 +106,44 @@ MplDataCursor
116106
toolkit written by Joe Kington to provide interactive "data cursors"
117107
(clickable annotation boxes) for matplotlib.
118108

119-
.. _toolkit_prettyplotlib:
120109

121-
prettyplotlib
122-
=============
123-
`prettyplotlib <https://olgabot.github.io/prettyplotlib>`_ is an extension
124-
to matplotlib which changes many of the defaults to make plots some
125-
consider more attractive.
110+
.. _toolkit_gtk:
111+
112+
GTK Tools
113+
=========
114+
115+
mpl_toolkits.gtktools provides some utilities for working with GTK.
116+
This toolkit ships with matplotlib, but requires `pygtk
117+
<http://www.pygtk.org/>`_.
118+
119+
120+
.. _toolkit_excel:
121+
122+
Excel Tools
123+
===========
124+
125+
mpl_toolkits.exceltools provides some utilities for working with
126+
Excel. This toolkit ships with matplotlib, but requires
127+
`xlwt <http://pypi.python.org/pypi/xlwt>`_
128+
129+
130+
.. _toolkit_natgrid:
131+
132+
Natgrid
133+
=======
134+
(*Not distributed with matplotlib*)
135+
136+
mpl_toolkits.natgrid is an interface to natgrid C library for gridding
137+
irregularly spaced data. This requires a separate installation of the
138+
natgrid toolkit from the sourceforge `download
139+
<http://sourceforge.net/project/showfiles.php?group_id=80706&package_id=142792>`_
140+
page.
141+
126142

127143
.. _hl_plotting:
128144

129-
###################
130145
High-Level Plotting
131-
###################
146+
*******************
132147

133148
Several projects have started to provide a higher-level interface to
134149
matplotlib. These are independent projects.
@@ -152,3 +167,14 @@ ggplot
152167

153168
`ggplot <https://github.com/yhat/ggplot>`_ is a port of the R ggplot2
154169
to python based on matplotlib.
170+
171+
172+
.. _toolkit_prettyplotlib:
173+
174+
prettyplotlib
175+
=============
176+
(*Not distributed with matplotlib*)
177+
178+
`prettyplotlib <https://olgabot.github.io/prettyplotlib>`_ is an extension
179+
to matplotlib which changes many of the defaults to make plots some
180+
consider more attractive.

0 commit comments

Comments
 (0)