Skip to content

Commit be07e0b

Browse files
committed
old landing page sections + install/contribute/project/release from users
+ moved users index a level up
1 parent 439d8df commit be07e0b

File tree

3 files changed

+44
-72
lines changed

3 files changed

+44
-72
lines changed

doc/devel/index.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ New contributors
1919

2020
.. grid-item::
2121
:class: sd-fs-5
22-
:child-align: spaced
2322

2423
:octicon:`info;1em;sd-text-info` :ref:`Where should I start? <start-contributing>`
2524

@@ -32,7 +31,6 @@ New contributors
3231
.. :octicon:`codespaces;1em;sd-text-info` placeholder for codespaces link
3332
3433
.. grid-item::
35-
:child-align: spaced
3634

3735
.. grid:: 1
3836
:gutter: 1

doc/index.rst

Lines changed: 44 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -9,95 +9,95 @@ Matplotlib |release| documentation
99

1010

1111
Matplotlib is a comprehensive library for creating static, animated,
12-
and interactive visualizations in Python.
12+
and interactive visualizations.
1313

1414
Install
1515
=======
1616

17-
Use either `pip` or `conda` to install the latest released version of
18-
Matplotlib:
17+
.. tab-set::
18+
:class: sd-width-content-min
1919

20-
.. grid:: 1 1 2 2
21-
:class-row: sd-align-minor-center
22-
23-
.. grid-item-card::
20+
.. tab-item:: pip
2421

25-
.. tab-set::
22+
.. code-block:: bash
2623
27-
.. tab-item:: pip
24+
pip install matplotlib
2825
29-
.. code-block:: bash
26+
.. tab-item:: conda
3027

31-
pip install matplotlib
28+
.. code-block:: bash
3229
33-
.. tab-item:: conda
30+
conda install -c conda-forge matplotlib
3431
35-
.. code-block:: bash
36-
37-
conda install -c conda-forge matplotlib
38-
39-
**Next Step**: :ref:`quick_start`
32+
.. tab-item:: other
4033

34+
.. toctree::
35+
:maxdepth: 2
4136

42-
For instructions on installing Matplotlib in other ways, see
43-
:doc:`users/installing/index`
37+
users/installing/index
4438

39+
For more detailed instructions, see :doc:`users/installing/index`
4540

4641
Learn
4742
=====
4843

44+
Start at :ref:`quick_start`
45+
4946
.. grid:: 1 1 2 2
50-
:padding: 2
51-
:gutter: 1
5247

5348
.. grid-item-card::
49+
:padding: 2
50+
:columns: 6
5451

5552
**How to use Matplotlib?**
5653
^^^
57-
5854
.. toctree::
5955
:maxdepth: 1
6056

57+
6158
User guide <users/index.rst>
6259
tutorials/index.rst
6360
users/faq/index.rst
6461

6562
.. grid-item-card::
63+
:padding: 2
64+
:columns: 6
6665

6766
**What can Matplotlib do?**
6867
^^^
69-
7068
.. toctree::
7169
:maxdepth: 1
7270

7371
plot_types/index.rst
7472
gallery/index.rst
7573

7674

77-
.. card::
78-
:padding: 2
75+
.. grid-item-card::
76+
:padding: 2
77+
:columns: 12
78+
79+
**Reference**
80+
^^^
7981

80-
**Reference**
81-
^^^
82+
.. grid:: 1 1 2 2
83+
:class-row: sd-align-minor-center
8284

83-
.. grid:: 1 1 2 2
84-
:class-row: sd-align-minor-center
85+
.. grid-item::
8586

86-
..grid-item::
87+
.. toctree::
88+
:maxdepth: 1
8789

88-
.. toctree::
89-
:maxdepth: 1
90+
API reference <api/index>
91+
Figure methods <api/figure_api>
92+
Plotting methods <api/axes_api>
9093

91-
API reference <api/index>
92-
Figure API <api/figure_api>
93-
Plotting API <api/axes_api>
9494

95-
.. grid-item::
95+
.. grid-item::
9696

97-
Top-level interfaces to make:
97+
Top-level interfaces to make:
9898

99-
- figures: `.pyplot.figure`
100-
- subplots: `.pyplot.subplots`, `.pyplot.subplot_mosaic`
99+
- figures: `.pyplot.figure`
100+
- subplots: `.pyplot.subplots`, `.pyplot.subplot_mosaic`
101101

102102

103103
Ecosystem
@@ -115,10 +115,11 @@ Ecosystem
115115

116116
.. grid-item::
117117

118-
Custom, domain specific, and experimental features are implemented
119-
in :octicon:`link-external;1em;sd-text-info` `Third-party packages <https://matplotlib.org/mpl-third-party/>`_,
120-
including functionality such as styling, alternative APIs, specialized
121-
plot types, and alternative backends.
118+
:octicon:`link-external;1em;sd-text-info` `Third-party packages <https://matplotlib.org/mpl-third-party/>`_,
119+
120+
provide custom, domain specific, and experimental features, including
121+
styles, colors, more plot types and backends, and alternative
122+
interfaces.
122123

123124

124125

doc/users/index.rst

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,6 @@
88
Using Matplotlib
99
================
1010

11-
12-
.. grid:: 1 1 2 2
13-
14-
.. grid-item::
15-
16-
.. image:: ../_static/anatomy.png
17-
18-
19-
.. grid-item::
20-
21-
`~.Artist`: Base class of the objects that manage the data and behavior of
22-
almost every visual element. Most elements are managed via a subclass of
23-
Artist, i.e. `~.Figure`, `~matplotlib.axes.Axes`, `~.Text`, `~.Line2D`,
24-
etc.
25-
26-
`~.Figure`: Manages the total drawing area, including artists inside
27-
the Figure, such as subfigures, axes, and properties of the figure such
28-
as labels, legends, and colorbars.
29-
30-
`~matplotlib.axes.Axes`: Manages a plotting region, including labeling
31-
and annotation. Most of the plotting methods belong to the Axes class,
32-
e.g. ``ax.plot()`` is `~.Axes.plot`.
33-
34-
`~matplotlib.axis.Axis`: Manages the coordinate systems of the Axes,
35-
including setting the scales and limits of each Axis and keeping track of
36-
the locations, labels, and formatting of the ticks on each Axis.
37-
3811
.. grid:: 1 1 2 2
3912

4013
.. grid-item-card::

0 commit comments

Comments
 (0)